Skip to content

armgit / ente

Public Imported from GitHub
0

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

fix: hero animation not working between album's view all tile and collection screen

ashilknb4a07d2b0d69
diff --git a/lib/services/search_service.dart b/lib/services/search_service.dart
index 6d5f865f65..6fb9856029 100644
--- a/lib/services/search_service.dart
+++ b/lib/services/search_service.dart
@@ -707,7 +707,7 @@ class SearchService {
LocationScreenStateProvider(
entry.key,
LocationScreen(
- //SearchResult.heroTag()
+ //this is SearchResult.heroTag()
tagPrefix:
"${ResultType.location.toString()}_${entry.key.item.name}",
),
diff --git a/lib/ui/viewer/search/result/search_section_all_page.dart b/lib/ui/viewer/search/result/search_section_all_page.dart
index aba4e66063..5618b70cba 100644
--- a/lib/ui/viewer/search/result/search_section_all_page.dart
+++ b/lib/ui/viewer/search/result/search_section_all_page.dart
@@ -139,7 +139,8 @@ class _SearchSectionAllPageState extends State<SearchSectionAllPage> {
context,
CollectionPage(
albumSectionResult.collectionWithThumbnail,
- tagPrefix: albumSectionResult.heroTag(),
+ tagPrefix: "searchable_item" +
+ albumSectionResult.heroTag(),
),
);
},