Skip to content

armgit / ente

Public Imported from GitHub
0

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

chore

ashilknbcc293358fec
diff --git a/mobile/lib/ui/home/memories/full_screen_memory.dart b/mobile/lib/ui/home/memories/full_screen_memory.dart
index eb51a66f9f..eda4618716 100644
--- a/mobile/lib/ui/home/memories/full_screen_memory.dart
+++ b/mobile/lib/ui/home/memories/full_screen_memory.dart
@@ -326,7 +326,7 @@ class _FullScreenMemoryState extends State<FullScreenMemory> {
return GestureDetector(
onTapUp: (TapUpDetails details) {
- final screenWidth = MediaQuery.of(context).size.width;
+ final screenWidth = MediaQuery.sizeOf(context).width;
final edgeWidth = screenWidth * 0.20;
if (details.localPosition.dx < edgeWidth) {
_goToPrevious(inheritedData);