TF-3548 Handle exceeded quota (#3557)

This commit is contained in:
Dat Dang
2025-03-18 15:57:28 +07:00
committed by GitHub
parent 183fcb6bd9
commit 4f1330a15c
4 changed files with 91 additions and 3 deletions
@@ -45,7 +45,8 @@ extension QuotasExtensions on Quota {
String getQuotasStateTitle(BuildContext context) {
if (isHardLimitReached) {
return AppLocalizations.of(context).textQuotasOutOfStorage;
return '${AppLocalizations.of(context).textQuotasOutOfStorage}'
'\n${AppLocalizations.of(context).quotaStateLabel(usedStorageAsString, hardLimitStorageAsString)}';
} else {
return AppLocalizations.of(context).quotaStateLabel(usedStorageAsString, hardLimitStorageAsString);
}