TF-4045 Only show upgrade storage when premium is available and quota is available

This commit is contained in:
dab246
2025-10-01 17:55:22 +07:00
committed by Dat H. Pham
parent 2cc727c209
commit dcb19992c6
16 changed files with 184 additions and 97 deletions
@@ -18,7 +18,10 @@ class QuotasBannerWidget extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Obx(() {
final octetQuota = _quotasController.octetsQuota.value;
final octetQuota = _quotasController
.mailboxDashBoardController
.octetsQuota
.value;
if (octetQuota != null &&
octetQuota.allowedDisplayToQuotaBanner &&