π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mobile][photos] Fix hero animation glitch when exiting the full-screen viewer
r4khul33a81547163d
diff --git a/mobile/apps/photos/lib/ui/viewer/file/detail_page.dart b/mobile/apps/photos/lib/ui/viewer/file/detail_page.dartindex 68845d7241..8894fb2a8b 100644--- a/mobile/apps/photos/lib/ui/viewer/file/detail_page.dart+++ b/mobile/apps/photos/lib/ui/viewer/file/detail_page.dart@@ -488,7 +488,7 @@ class _BodyState extends State<_Body> {.startTextSelectionAt(file, details.globalPosition): null,);- return GestureDetector(+ final page = GestureDetector(onTap: () {file.fileType != FileType.video? InheritedDetailPageState.of(context).toggleFullScreenByUser()@@ -496,6 +496,11 @@ class _BodyState extends State<_Body> {},child: fileContent,);+ return ValueListenableBuilder(+ valueListenable: _selectedIndexNotifier,+ builder: (context, selectedIndex, _) =>+ HeroMode(enabled: index == selectedIndex, child: page),+ );},onPageChanged: (index) {final file = _fileAt(index);