mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-12-27 01:28:56 +08:00
Don't preload Compose window for speedup and to avoid an excessive DOM size
This commit is contained in:
parent
2a6a1ff799
commit
ed1dc4dbc1
1 changed files with 0 additions and 5 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue