π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Pause animtaion when delete/share action is performed
AmanRajSinghMouryae51506b9f80b
diff --git a/mobile/lib/ui/home/memories/full_screen_memory.dart b/mobile/lib/ui/home/memories/full_screen_memory.dartindex d9dc7879ce..eb51a66f9f 100644--- a/mobile/lib/ui/home/memories/full_screen_memory.dart+++ b/mobile/lib/ui/home/memories/full_screen_memory.dart@@ -325,7 +325,7 @@ class _FullScreenMemoryState extends State<FullScreenMemory> {final currentFile = currentMemory.file;return GestureDetector(- onTapDown: (TapDownDetails details) {+ onTapUp: (TapUpDetails details) {final screenWidth = MediaQuery.of(context).size.width;final edgeWidth = screenWidth * 0.20;if (details.localPosition.dx < edgeWidth) {@@ -409,6 +409,8 @@ class BottomIcons extends StatelessWidget {@overrideWidget build(BuildContext context) {final inheritedData = FullScreenMemoryData.of(context)!;+ final fullScreenState =+ context.findAncestorStateOfType<_FullScreenMemoryState>();return ValueListenableBuilder(valueListenable: inheritedData.indexNotifier,@@ -420,8 +422,10 @@ class BottomIcons extends StatelessWidget {Platform.isAndroid ? Icons.info_outline : CupertinoIcons.info,color: Colors.white, //same for both themes),- onPressed: () {- showDetailsSheet(context, currentFile);+ onPressed: () async {+ fullScreenState?._toggleAnimation(true);+ await showDetailsSheet(context, currentFile);+ fullScreenState?._toggleAnimation(false);},),];@@ -437,6 +441,7 @@ class BottomIcons extends StatelessWidget {color: Colors.white, //same for both themes),onPressed: () async {+ fullScreenState?._toggleAnimation(true);await showSingleFileDeleteSheet(context,inheritedData@@ -449,6 +454,7 @@ class BottomIcons extends StatelessWidget {},},);+ fullScreenState?._toggleAnimation(false);},),SizedBox(@@ -463,8 +469,10 @@ class BottomIcons extends StatelessWidget {Icons.adaptive.share,color: Colors.white, //same for both themes),- onPressed: () {- share(context, [currentFile]);+ onPressed: () async {+ fullScreenState?._toggleAnimation(true);+ await share(context, [currentFile]);+ fullScreenState?._toggleAnimation(false);},),);