Skip to content

armgit / ente

Public Imported from GitHub
0

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

Show NotificationTipWidget in PickCenterPoint when adding a new location tag from search section

ashilknd1a9404305c8
diff --git a/lib/ui/viewer/location/pick_center_point_widget.dart b/lib/ui/viewer/location/pick_center_point_widget.dart
index e3fac6fcca..de95aff093 100644
--- a/lib/ui/viewer/location/pick_center_point_widget.dart
+++ b/lib/ui/viewer/location/pick_center_point_widget.dart
@@ -17,6 +17,7 @@ import "package:photos/theme/ente_theme.dart";
import "package:photos/ui/components/bottom_of_title_bar_widget.dart";
import "package:photos/ui/components/buttons/button_widget.dart";
import "package:photos/ui/components/models/button_type.dart";
+import "package:photos/ui/components/notification_widget.dart";
import "package:photos/ui/components/title_bar_title_widget.dart";
import "package:photos/ui/viewer/gallery/gallery.dart";
@@ -112,6 +113,12 @@ class PickCenterPointWidget extends StatelessWidget {
selectedFiles: selectedFiles,
limitSelectionToOne: true,
showSelectAllByDefault: false,
+ header: const Padding(
+ padding: EdgeInsets.all(10),
+ child: NotificationTipWidget(
+ "You can also add a location centered on a photo from the photo's info screen",
+ ),
+ ),
),
),
],