π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob][photos] Make hero animation work between magic section's all screen and the screen that comes up when selecting a suggession from there
ashilknf4c7e60b5a4f
diff --git a/mobile/lib/ui/viewer/search/result/search_section_all_page.dart b/mobile/lib/ui/viewer/search/result/search_section_all_page.dartindex 17dea1f84f..587049801b 100644--- a/mobile/lib/ui/viewer/search/result/search_section_all_page.dart+++ b/mobile/lib/ui/viewer/search/result/search_section_all_page.dart@@ -14,6 +14,7 @@ import "package:photos/services/collections_service.dart";import "package:photos/ui/common/loading_widget.dart";import "package:photos/ui/components/title_bar_title_widget.dart";import "package:photos/ui/viewer/gallery/collection_page.dart";+import "package:photos/ui/viewer/search/result/magic_result_screen.dart";import "package:photos/ui/viewer/search/result/searchable_item.dart";import "package:photos/utils/navigation_util.dart";@@ -154,6 +155,31 @@ class _SearchSectionAllPageState extends State<SearchSectionAllPage> {);},);+ }++ if (widget.sectionType == SectionType.magic) {+ final magicSectionResult =+ sectionResults[index] as GenericSearchResult;+ return SearchableItemWidget(+ magicSectionResult,+ onResultTap: () {+ RecentSearches()+ .add(sectionResults[index].name());+ routeToPage(+ context,+ MagicResultScreen(+ magicSectionResult.resultFiles(),+ name: magicSectionResult.name(),+ heroTag: "searchable_item" ++ GenericSearchResult(+ ResultType.magic,+ magicSectionResult.name(),+ magicSectionResult.resultFiles(),+ ).heroTag(),+ ),+ );+ },+ );} else if (sectionResults[index]is GenericSearchResult) {final result =