mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 20:49:20 +03:00
Resolve #496
This commit is contained in:
parent
232ad31553
commit
15dd6f5a5c
45 changed files with 77 additions and 24 deletions
|
|
@ -43,7 +43,7 @@ export class UserSettingsGeneral extends AbstractViewSettings {
|
|||
['layout', 'messageReadDelay', 'messagesPerPage',
|
||||
'editorDefaultType', 'requestReadReceipt', 'requestDsn', 'pgpSign', 'pgpEncrypt',
|
||||
'viewHTML', 'showImages', 'removeColors', 'hideDeleted',
|
||||
'useCheckboxesInList', 'useThreads', 'replySameFolder'
|
||||
'useCheckboxesInList', 'useThreads', 'replySameFolder', 'msgDefaultAction'
|
||||
].forEach(name => this[name] = SettingsUserStore[name]);
|
||||
|
||||
this.allowLanguagesOnSettings = !!SettingsGet('AllowLanguagesOnSettings');
|
||||
|
|
@ -73,6 +73,14 @@ export class UserSettingsGeneral extends AbstractViewSettings {
|
|||
];
|
||||
},
|
||||
|
||||
msgDefaultActions: () => {
|
||||
translatorTrigger();
|
||||
return [
|
||||
{ id: 1, name: i18n('MESSAGE/BUTTON_REPLY') }, // ComposeType.Reply,
|
||||
{ id: 2, name: i18n('MESSAGE/BUTTON_REPLY_ALL') } // ComposeType.ReplyAll
|
||||
];
|
||||
},
|
||||
|
||||
layoutTypes: () => {
|
||||
translatorTrigger();
|
||||
return [
|
||||
|
|
@ -84,6 +92,7 @@ export class UserSettingsGeneral extends AbstractViewSettings {
|
|||
});
|
||||
|
||||
this.addSetting('EditorDefaultType');
|
||||
this.addSetting('MsgDefaultAction');
|
||||
this.addSetting('MessageReadDelay');
|
||||
this.addSetting('MessagesPerPage');
|
||||
this.addSetting('Layout', () => MessagelistUserStore([]));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue