TF-4002 Don't need to keep the expand/collapse state of creation dialog the same as the mailbox view
This commit is contained in:
@@ -844,11 +844,7 @@ class MailboxController extends BaseMailboxController
|
||||
|
||||
void goToCreateNewMailboxView(BuildContext context, {PresentationMailbox? parentMailbox}) async {
|
||||
if (session != null && accountId != null) {
|
||||
final arguments = MailboxCreatorArguments(
|
||||
defaultMailboxTree.value,
|
||||
personalMailboxTree.value,
|
||||
parentMailbox,
|
||||
);
|
||||
final arguments = MailboxCreatorArguments(allMailboxes, parentMailbox);
|
||||
|
||||
final result = PlatformInfo.isWeb
|
||||
? await DialogRouter.pushGeneralDialog(routeName: AppRoutes.mailboxCreator, arguments: arguments)
|
||||
|
||||
@@ -48,6 +48,7 @@ class TreeBuilder {
|
||||
required MailboxTree currentPersonalTree,
|
||||
required MailboxTree currentTeamMailboxTree,
|
||||
MailboxId? mailboxIdSelected,
|
||||
MailboxId? mailboxIdExpanded,
|
||||
}) async {
|
||||
final Map<MailboxId, MailboxNode> mailboxDictionary = HashMap();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user