TF-4045 Remove storage information in left menu when it’s less than 80% of the total capacity

This commit is contained in:
dab246
2025-10-01 16:40:27 +07:00
committed by Dat H. Pham
parent 06783298bc
commit 2cc727c209
3 changed files with 45 additions and 44 deletions
@@ -20,7 +20,7 @@ class QuotasView extends GetWidget<QuotasController> {
final octetQuota = controller.octetsQuota.value;
bool isDesktop = controller.responsiveUtils.isDesktop(context);
if (octetQuota != null && octetQuota.storageAvailable) {
if (octetQuota != null && octetQuota.isStorageUsageIndicatorAppear) {
return Container(
padding: isDesktop
? const EdgeInsetsDirectional.only(