TF-1311: [Presentation]: Handle show toastMsg when hide mailbox

This commit is contained in:
HuyNguyen
2023-02-08 11:09:29 +07:00
committed by Dat Vu
parent 6f32bf4ba3
commit b2af558790
12 changed files with 118 additions and 36 deletions
@@ -149,7 +149,8 @@ abstract class BaseMailboxController extends BaseController {
personalMailboxTree.value.root.childrenItems?.isNotEmpty ?? false;
bool get teamMailboxesHasChild =>
teamMailboxesTree.value.root.childrenItems?.isNotEmpty ?? false;
(teamMailboxesTree.value.root.childrenItems?.isNotEmpty ?? false )
&& !teamMailboxesTree.value.root.item.isTeamMailboxes;
MailboxNode get defaultRootNode => defaultMailboxTree.value.root;