TF-1436 Disable show/hide mailbox button for child team-mailbox

This commit is contained in:
dab246
2023-02-14 10:59:32 +07:00
committed by Dat Vu
parent 7703db7f5a
commit 259f5ae6e3
3 changed files with 28 additions and 19 deletions
@@ -116,6 +116,16 @@ class PresentationMailbox with EquatableMixin {
}
}
bool get isSupportedEnableMailbox {
if (supportedSubscribe) {
return false;
}
if (isPersonal) {
return true;
} else {
return isTeamMailboxes;
}
}
@override
List<Object?> get props => [