TF-1611 Fix can not display correctly menu screen when open setting view

(cherry picked from commit 2ba04f782ef17dac3b93930dccd3723f13d6836d)
This commit is contained in:
dab246
2023-03-24 01:13:51 +07:00
committed by Dat Vu
parent bc01ab9b0f
commit fed514e40b
20 changed files with 174 additions and 274 deletions
@@ -6,7 +6,7 @@ import 'package:tmail_ui_user/features/quotas/presentation/quotas_controller.dar
class QuotasWarningBannerWidget extends GetWidget<QuotasController> {
const QuotasWarningBannerWidget({this.margin ,Key? key}) : super(key: key);
final EdgeInsetsGeometry? margin;
final EdgeInsets? margin;
@override
Widget build(BuildContext context) {
@@ -14,7 +14,7 @@ class QuotasWarningBannerWidget extends GetWidget<QuotasController> {
() => controller.enableShowWarningQuotas
? Container(
padding: const EdgeInsets.all(16),
margin: margin ?? const EdgeInsets.only(left: 12, right: 12, top: 8),
margin: margin ?? const EdgeInsets.only(left: 12, right: 12, bottom: 12),
decoration: BoxDecoration(
color: controller.quotasState.value.getBackgroundColorWarningBanner(),
borderRadius: const BorderRadius.all(Radius.circular(10)),