Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Improve no location tag ux in file info

Neeraj Gupta93b08b90f9ac
diff --git a/mobile/apps/photos/lib/ui/viewer/file_details/location_tags_widget.dart b/mobile/apps/photos/lib/ui/viewer/file_details/location_tags_widget.dart
index 3980f96473..a32d0a4ad3 100644
--- a/mobile/apps/photos/lib/ui/viewer/file_details/location_tags_widget.dart
+++ b/mobile/apps/photos/lib/ui/viewer/file_details/location_tags_widget.dart
@@ -111,7 +111,7 @@ class _LocationTagsWidgetState extends State<LocationTagsWidget> {
setState(() {
title = AppLocalizations.of(context).location;
leadingIcon = Icons.pin_drop_outlined;
- hasChipButtons = true;
+ hasChipButtons = false;
onTap = null;
});
}
@@ -151,8 +151,7 @@ class _LocationTagsWidgetState extends State<LocationTagsWidget> {
.toList();
result.add(
ChipButtonWidget(
- null,
- leadingIcon: Icons.add_outlined,
+ "+",
onTap: () => showAddLocationSheet(context, widget.file.location!),
),
);