Browse Source

Merge pull request #660 from ente-io/change-threshold-of-small-screen

change threshold for small screen
Ashil 2 years ago
parent
commit
f6093ecaa6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/ui/settings/storage_card_widget.dart

+ 1 - 1
lib/ui/settings/storage_card_widget.dart

@@ -126,7 +126,7 @@ class _StorageCardWidgetState extends State<StorageCardWidget> {
     final totalStorageInBytes = userDetails.getTotalStorage();
     final freeStorageInBytes = totalStorageInBytes - usedStorageInBytes;
 
-    final isMobileScreenSmall = MediaQuery.of(context).size.width <= 360;
+    final isMobileScreenSmall = MediaQuery.of(context).size.width <= 336;
     final shouldShowFreeSpaceInMBs = freeStorageInBytes < hundredMBinBytes;
     final shouldShowFreeSpaceInTBs = freeStorageInBytes >= oneTBinBytes;
     final shouldShowUsedStorageInTBs = usedStorageInBytes >= oneTBinBytes;