TF-1468: Update scroll suggestion of options once click expand icon to the mailbox list

This commit is contained in:
HuyNguyen
2023-02-22 08:59:04 +07:00
committed by Dat Vu
parent 43ef76b420
commit 6d72681f4a
2 changed files with 53 additions and 10 deletions
@@ -68,8 +68,7 @@ class MailboxView extends GetWidget<MailboxController>
}),
]),
),
Obx(() => controller.isMailboxListScrollable.isTrue
&& !controller.isSelectionEnabled()
Obx(() => !controller.isSelectionEnabled()
? const QuotasFooterWidget()
: const SizedBox.shrink(),
),
@@ -264,13 +263,6 @@ class MailboxView extends GetWidget<MailboxController>
return const SizedBox.shrink();
}
}),
Obx(() {
if (controller.isMailboxListScrollable.isFalse) {
return const QuotasFooterWidget();
} else {
return const SizedBox.shrink();
}
}),
])
),
);