TF-4045 Add storage information in settings

This commit is contained in:
dab246
2025-10-01 14:23:17 +07:00
committed by Dat H. Pham
parent 0f3002879d
commit 075878f919
21 changed files with 605 additions and 37 deletions
@@ -68,13 +68,13 @@ extension QuotasExtensions on Quota {
}
}
Color getQuotasStateProgressBarColor() {
Color getQuotasStateProgressBarColor({bool fromSetting = false}) {
if (isHardLimitReached) {
return AppColor.colorQuotaError;
} else if (isWarnLimitReached) {
return AppColor.colorBackgroundQuotasWarning;
} else {
return AppColor.blue400;
return fromSetting ? AppColor.blue25AEFE : AppColor.blue400;
}
}