Procházet zdrojové kódy

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

change threshold for small screen
Ashil před 2 roky
rodič
revize
f6093ecaa6
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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;