浏览代码

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

change threshold for small screen
Ashil 2 年之前
父节点
当前提交
f6093ecaa6
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;