mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 13:09:21 +03:00
Resolve #574
This commit is contained in:
parent
901e45d672
commit
4a0a6c80fc
44 changed files with 52 additions and 3 deletions
|
|
@ -43,7 +43,7 @@ export class UserSettingsGeneral extends AbstractViewSettings {
|
|||
['layout', 'messageReadDelay', 'messagesPerPage',
|
||||
'editorDefaultType', 'requestReadReceipt', 'requestDsn', 'pgpSign', 'pgpEncrypt',
|
||||
'viewHTML', 'showImages', 'removeColors', 'hideDeleted', 'listInlineAttachments',
|
||||
'useCheckboxesInList', 'useThreads', 'replySameFolder', 'msgDefaultAction'
|
||||
'useCheckboxesInList', 'useThreads', 'replySameFolder', 'msgDefaultAction', 'allowSpellcheck'
|
||||
].forEach(name => this[name] = SettingsUserStore[name]);
|
||||
|
||||
this.allowLanguagesOnSettings = !!SettingsGet('AllowLanguagesOnSettings');
|
||||
|
|
@ -99,7 +99,7 @@ export class UserSettingsGeneral extends AbstractViewSettings {
|
|||
|
||||
this.addSettings(['ViewHTML', 'ShowImages', 'HideDeleted', 'ListInlineAttachments',
|
||||
'UseCheckboxesInList', 'ReplySameFolder',
|
||||
'requestReadReceipt', 'requestDsn', 'pgpSign', 'pgpEncrypt',
|
||||
'requestReadReceipt', 'requestDsn', 'pgpSign', 'pgpEncrypt', 'allowSpellcheck',
|
||||
'DesktopNotifications', 'SoundNotification']);
|
||||
|
||||
const fReloadLanguageHelper = (saveSettingsStep) => () => {
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ export const SettingsUserStore = new class {
|
|||
requestDsn: 0,
|
||||
pgpSign: 0,
|
||||
pgpEncrypt: 0,
|
||||
allowSpellcheck: 0,
|
||||
|
||||
layout: 1,
|
||||
editorDefaultType: 'Html',
|
||||
|
|
@ -92,5 +93,6 @@ export const SettingsUserStore = new class {
|
|||
self.requestDsn(SettingsGet('requestDsn'));
|
||||
self.pgpSign(SettingsGet('pgpSign'));
|
||||
self.pgpEncrypt(SettingsGet('pgpEncrypt'));
|
||||
self.allowSpellcheck(SettingsGet('allowSpellcheck'));
|
||||
}
|
||||
};
|
||||
|
|
|
|||
|
|
@ -214,6 +214,7 @@ export class ComposePopupView extends AbstractViewPopup {
|
|||
|
||||
this.allowContacts = AppUserStore.allowContacts();
|
||||
this.allowIdentities = SettingsCapa('Identities');
|
||||
this.allowSpellcheck = SettingsUserStore.allowSpellcheck;
|
||||
|
||||
addObservablesTo(this, {
|
||||
identitiesDropdownTrigger: false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue