Improved ComposePopupView bSkipNextHide to ComposePopupView.inEdit

This commit is contained in:
the-djmaze 2022-09-08 13:28:24 +02:00
parent 7df534b4b5
commit d8b1e3432a
4 changed files with 125 additions and 124 deletions

View file

@ -18,6 +18,7 @@ import { AbstractViewLeft } from 'Knoin/AbstractViews';
import { showMessageComposer } from 'Common/UtilsUser';
import { FolderCreatePopupView } from 'View/Popup/FolderCreate';
import { ContactsPopupView } from 'View/Popup/Contacts';
import { ComposePopupView } from 'View/Popup/Compose';
import { moveMessagesToFolder } from 'Common/Folders';
@ -29,7 +30,7 @@ export class MailFolderList extends AbstractViewLeft {
this.oContentScrollable = null;
this.composeInEdit = AppUserStore.composeInEdit;
this.composeInEdit = ComposePopupView.inEdit;
this.systemFolders = FolderUserStore.systemFolders;

View file

@ -39,6 +39,7 @@ import { AbstractViewRight } from 'Knoin/AbstractViews';
import { FolderClearPopupView } from 'View/Popup/FolderClear';
import { AdvancedSearchPopupView } from 'View/Popup/AdvancedSearch';
import { ComposePopupView } from 'View/Popup/Compose';
import { MessageModel } from 'Model/Message';
@ -70,7 +71,7 @@ export class MailMessageList extends AbstractViewRight {
this.canMarkAsSpam = MessagelistUserStore.canMarkAsSpam;
this.isSpamFolder = MessagelistUserStore.isSpamFolder;
this.composeInEdit = AppUserStore.composeInEdit;
this.composeInEdit = ComposePopupView.inEdit;
this.isMobile = ThemeStore.isMobile;
this.leftPanelDisabled = leftPanelDisabled;