TF-1436 Disable show/hide mailbox button for child team-mailbox
This commit is contained in:
@@ -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 => [
|
||||
|
||||
Reference in New Issue
Block a user