Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob][photos] Use translucent hit test for QR tap regions to allow swiping

Amrithesh Kakkoth Ente24e0113191a1
diff --git a/mobile/apps/photos/lib/ui/viewer/file/qr_code_highlight_overlay.dart b/mobile/apps/photos/lib/ui/viewer/file/qr_code_highlight_overlay.dart
index 901d3e7fb2..26b12ebc3a 100644
--- a/mobile/apps/photos/lib/ui/viewer/file/qr_code_highlight_overlay.dart
+++ b/mobile/apps/photos/lib/ui/viewer/file/qr_code_highlight_overlay.dart
@@ -119,7 +119,7 @@ class _QrTapRegionState extends State<_QrTapRegion> {
width: screenW,
height: screenH,
child: GestureDetector(
- behavior: HitTestBehavior.opaque,
+ behavior: HitTestBehavior.translucent,
onLongPress: _onLongPress,
child: const SizedBox.expand(),
),