change threshold of small screen

This commit is contained in:
ashilkn 2022-11-21 16:42:52 +05:30
parent 763e1749d1
commit f2b190aaf3

View file

@ -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;