π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Fix motion photo not responding on images without text (#9917)
Laurens Prieme345e4b09aa0
diff --git a/mobile/apps/photos/lib/ui/viewer/file/inline_text_detection.dart b/mobile/apps/photos/lib/ui/viewer/file/inline_text_detection.dartindex 423d683d1b..29e646f906 100644--- a/mobile/apps/photos/lib/ui/viewer/file/inline_text_detection.dart+++ b/mobile/apps/photos/lib/ui/viewer/file/inline_text_detection.dart@@ -216,7 +216,11 @@ class _InlineTextDetectionState extends State<InlineTextDetection> {// During the wait period (hasText passed but 1s timer hasn't fired),// show a transparent gesture layer to capture long press.- if (!_overlayActive || _localFilePath == null) {+ // Only show when we know text exists to avoid blocking motion photo gestures.+ if (_localFilePath == null) {+ return const SizedBox.shrink();+ }+ if (!_overlayActive) {return Positioned.fill(child: GestureDetector(behavior: HitTestBehavior.translucent,