π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Guard search map navigation after enabling maps
ashilkn2ebb27a7f89b
diff --git a/mobile/apps/photos/changes/dismiss-search-keyboard-on-scroll.md b/mobile/apps/photos/changes/dismiss-search-keyboard-on-scroll.mdindex 399bc5efab..97b694b6ba 100644--- a/mobile/apps/photos/changes/dismiss-search-keyboard-on-scroll.md+++ b/mobile/apps/photos/changes/dismiss-search-keyboard-on-scroll.md@@ -1 +1 @@-- Dismiss the keyboard when scrolling Photos search result screens.+- Dismiss the keyboard when scrolling search screens.diff --git a/mobile/apps/photos/changes/search-contacts-invite-icon.md b/mobile/apps/photos/changes/search-contacts-invite-icon.mddeleted file mode 100644index 271919c8ed..0000000000--- a/mobile/apps/photos/changes/search-contacts-invite-icon.md+++ /dev/null@@ -1 +0,0 @@-- Updated the contacts search invite action to use the refreshed icon treatment.diff --git a/mobile/apps/photos/changes/search-header-animation-smoothness.md b/mobile/apps/photos/changes/search-header-animation-smoothness.mddeleted file mode 100644index 67ca36221c..0000000000--- a/mobile/apps/photos/changes/search-header-animation-smoothness.md+++ /dev/null@@ -1 +0,0 @@-- Improved search header animation smoothness when opening the keyboard.diff --git a/mobile/apps/photos/changes/search-query-dedupe.md b/mobile/apps/photos/changes/search-query-dedupe.mddeleted file mode 100644index 0fe4ddce2a..0000000000--- a/mobile/apps/photos/changes/search-query-dedupe.md+++ /dev/null@@ -1 +0,0 @@-- Avoid re-running Photos search when dismissing the keyboard without changing the query.diff --git a/mobile/apps/photos/changes/search-results-bottom-spacing.md b/mobile/apps/photos/changes/search-results-bottom-spacing.mddeleted file mode 100644index 8cd169bbaf..0000000000--- a/mobile/apps/photos/changes/search-results-bottom-spacing.md+++ /dev/null@@ -1 +0,0 @@-- Removed extra keyboard-driven bottom spacing from Photos search results.diff --git a/mobile/apps/photos/changes/search-ritual-cta-figma-match.md b/mobile/apps/photos/changes/search-ritual-cta-figma-match.mddeleted file mode 100644index 82b66b36d3..0000000000--- a/mobile/apps/photos/changes/search-ritual-cta-figma-match.md+++ /dev/null@@ -1 +0,0 @@-- Matched the compact search ritual CTA card more closely to the Figma design.diff --git a/mobile/apps/photos/changes/search-rituals-design.md b/mobile/apps/photos/changes/search-rituals-design.mddeleted file mode 100644index 47ebafee82..0000000000--- a/mobile/apps/photos/changes/search-rituals-design.md+++ /dev/null@@ -1 +0,0 @@-- Updated the rituals section in Photos search to match the refreshed design.diff --git a/mobile/apps/photos/changes/search-sections-large-text.md b/mobile/apps/photos/changes/search-sections-large-text.mddeleted file mode 100644index bd6e7b8f46..0000000000--- a/mobile/apps/photos/changes/search-sections-large-text.md+++ /dev/null@@ -1 +0,0 @@-- Improved Search section layouts for larger text sizes.diff --git a/mobile/apps/photos/changes/search-tab-collapsed-header.md b/mobile/apps/photos/changes/search-tab-collapsed-header.mddeleted file mode 100644index c5dd962dac..0000000000--- a/mobile/apps/photos/changes/search-tab-collapsed-header.md+++ /dev/null@@ -1 +0,0 @@-- Made the search tab header collapse quickly while searching.diff --git a/mobile/apps/photos/changes/search-tab-design-refresh.md b/mobile/apps/photos/changes/search-tab-design-refresh.mddeleted file mode 100644index ee254648c3..0000000000--- a/mobile/apps/photos/changes/search-tab-design-refresh.md+++ /dev/null@@ -1 +0,0 @@-- Refreshed the search tab layout to match the updated visual design.diff --git a/mobile/apps/photos/changes/search-tab-header-spacing.md b/mobile/apps/photos/changes/search-tab-header-spacing.mddeleted file mode 100644index 2ec8d3dec8..0000000000--- a/mobile/apps/photos/changes/search-tab-header-spacing.md+++ /dev/null@@ -1 +0,0 @@-- Matched Search tab header spacing with the Albums tab.diff --git a/mobile/apps/photos/changes/search-tab-redesign.md b/mobile/apps/photos/changes/search-tab-redesign.mdnew file mode 100644index 0000000000..c3f198d114--- /dev/null+++ b/mobile/apps/photos/changes/search-tab-redesign.md@@ -0,0 +1 @@+- Search tab redesign.diff --git a/mobile/apps/photos/lib/ui/viewer/search/result/go_to_map_widget.dart b/mobile/apps/photos/lib/ui/viewer/search/result/go_to_map_widget.dartindex 93f37fd0b3..e41cdb1db9 100644--- a/mobile/apps/photos/lib/ui/viewer/search/result/go_to_map_widget.dart+++ b/mobile/apps/photos/lib/ui/viewer/search/result/go_to_map_widget.dart@@ -20,7 +20,13 @@ class GoToMap extends StatelessWidget {if (!mapEnabled) {try {await setMapEnabled(true);+ if (!context.mounted) {+ return;+ }} catch (e) {+ if (!context.mounted) {+ return;+ }showShortToast(context,AppLocalizations.of(context).somethingWentWrong,diff --git a/mobile/apps/photos/lib/ui/viewer/search_tab/locations_section.dart b/mobile/apps/photos/lib/ui/viewer/search_tab/locations_section.dartindex 7293bb9a00..408d3c6953 100644--- a/mobile/apps/photos/lib/ui/viewer/search_tab/locations_section.dart+++ b/mobile/apps/photos/lib/ui/viewer/search_tab/locations_section.dart@@ -273,7 +273,13 @@ class GoToMapTile extends StatelessWidget {if (!mapEnabled) {try {await setMapEnabled(true);+ if (!context.mounted) {+ return;+ }} catch (e) {+ if (!context.mounted) {+ return;+ }showShortToast(context,AppLocalizations.of(context).somethingWentWrong,