mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 13:09:21 +03:00
Globalize message composer popup window
This commit is contained in:
parent
5601e100d9
commit
e7b1ce7509
6 changed files with 51 additions and 77 deletions
|
|
@ -15,7 +15,7 @@ import { ThemeStore } from 'Stores/Theme';
|
|||
import { showScreenPopup } from 'Knoin/Knoin';
|
||||
import { AbstractViewLeft } from 'Knoin/AbstractViews';
|
||||
|
||||
import { ComposePopupView } from 'View/Popup/Compose';
|
||||
import { showMessageComposer } from 'Common/UtilsUser';
|
||||
import { FolderCreatePopupView } from 'View/Popup/FolderCreate';
|
||||
import { ContactsPopupView } from 'View/Popup/Contacts';
|
||||
|
||||
|
|
@ -38,7 +38,7 @@ export class FolderListMailBoxUserView extends AbstractViewLeft {
|
|||
|
||||
this.leftPanelDisabled = leftPanelDisabled;
|
||||
|
||||
this.allowComposer = !!Settings.capa(Capa.Composer);
|
||||
this.allowComposer = Settings.capa(Capa.Composer);
|
||||
this.allowContacts = !!AppStore.contactsIsAllowed();
|
||||
|
||||
this.folderListFocused = ko.computed(() => Focused.FolderList === AppStore.focusedState());
|
||||
|
|
@ -198,9 +198,7 @@ export class FolderListMailBoxUserView extends AbstractViewLeft {
|
|||
}
|
||||
|
||||
composeClick() {
|
||||
if (Settings.capa(Capa.Composer)) {
|
||||
showScreenPopup(ComposePopupView);
|
||||
}
|
||||
showMessageComposer();
|
||||
}
|
||||
|
||||
createFolder() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue