From ed1dc4dbc11c3957ba2fe987196b8a0408e318c2 Mon Sep 17 00:00:00 2001 From: djmaze Date: Fri, 13 Aug 2021 10:16:55 +0200 Subject: [PATCH] Don't preload Compose window for speedup and to avoid an excessive DOM size --- dev/Screen/User/MailBox.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/dev/Screen/User/MailBox.js b/dev/Screen/User/MailBox.js index fcf1e02e5..8df4785a0 100644 --- a/dev/Screen/User/MailBox.js +++ b/dev/Screen/User/MailBox.js @@ -15,12 +15,8 @@ import { FolderListMailBoxUserView } from 'View/User/MailBox/FolderList'; import { MessageListMailBoxUserView } from 'View/User/MailBox/MessageList'; import { MessageViewMailBoxUserView } from 'View/User/MailBox/MessageView'; -import { getScreenPopupViewModel } from 'Knoin/Knoin'; - import { AbstractScreen } from 'Knoin/AbstractScreen'; -import { ComposePopupView } from 'View/Popup/Compose'; - export class MailBoxUserScreen extends AbstractScreen { constructor() { super('mailbox', [ @@ -88,7 +84,6 @@ export class MailBoxUserScreen extends AbstractScreen { onStart() { if (!this.__started) { super.onStart(); - setTimeout(() => getScreenPopupViewModel(ComposePopupView), 500); addEventListener('mailbox.inbox-unread-count', e => { FolderUserStore.foldersInboxUnreadCount(e.detail);