mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-28 03:29:20 +03:00
Make allowCtrlEnterOnCompose an account setting (but inactive as never changed)
This commit is contained in:
parent
618333e257
commit
c53d9adaba
3 changed files with 12 additions and 11 deletions
|
|
@ -20,7 +20,7 @@ import { folderInformation, messagesDeleteHelper } from 'Common/Folders';
|
|||
import { serverRequest } from 'Common/Links';
|
||||
import { i18n, getNotification, getUploadErrorDescByCode, timestampToString } from 'Common/Translator';
|
||||
import { MessageFlagsCache, setFolderETag } from 'Common/Cache';
|
||||
import { Settings, SettingsCapa, SettingsGet, elementById, addShortcut, createElement } from 'Common/Globals';
|
||||
import { SettingsCapa, SettingsGet, elementById, addShortcut, createElement } from 'Common/Globals';
|
||||
//import { exitFullscreen, isFullscreen, toggleFullscreen } from 'Common/Fullscreen';
|
||||
|
||||
import { AppUserStore } from 'Stores/User/App';
|
||||
|
|
@ -1119,12 +1119,12 @@ export class ComposePopupView extends AbstractViewPopup {
|
|||
return false;
|
||||
});
|
||||
|
||||
if (Settings.app('allowCtrlEnterOnCompose')) {
|
||||
addShortcut('enter', 'meta', ScopeCompose, () => {
|
||||
addShortcut('enter', 'meta', ScopeCompose, () => {
|
||||
// if (SettingsUserStore.allowCtrlEnterOnCompose()) {
|
||||
this.sendCommand();
|
||||
return false;
|
||||
});
|
||||
}
|
||||
// }
|
||||
});
|
||||
addShortcut('mailsend', '', ScopeCompose, () => {
|
||||
this.sendCommand();
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue