TF-4002 Apply new design for folder creation modal on web
This commit is contained in:
@@ -843,15 +843,12 @@ class MailboxController extends BaseMailboxController
|
||||
}
|
||||
|
||||
void goToCreateNewMailboxView(BuildContext context, {PresentationMailbox? parentMailbox}) async {
|
||||
if (session !=null && accountId != null) {
|
||||
if (session != null && accountId != null) {
|
||||
final arguments = MailboxCreatorArguments(
|
||||
accountId!,
|
||||
defaultMailboxTree.value,
|
||||
personalMailboxTree.value,
|
||||
teamMailboxesTree.value,
|
||||
mailboxDashBoardController.sessionCurrent!,
|
||||
parentMailbox
|
||||
);
|
||||
defaultMailboxTree.value,
|
||||
personalMailboxTree.value,
|
||||
parentMailbox,
|
||||
);
|
||||
|
||||
final result = PlatformInfo.isWeb
|
||||
? await DialogRouter.pushGeneralDialog(routeName: AppRoutes.mailboxCreator, arguments: arguments)
|
||||
|
||||
Reference in New Issue
Block a user