mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-09 17:37:02 +03:00
Changes for #796
This commit is contained in:
parent
ff9dfa28fe
commit
f2b8719223
3 changed files with 4 additions and 3 deletions
|
|
@ -21,7 +21,7 @@ export const SettingsUserStore = new class {
|
|||
listInlineAttachments: 0,
|
||||
simpleAttachmentsList: 0,
|
||||
useCheckboxesInList: 1,
|
||||
listPerDay: 1,
|
||||
listPerDay: 0,
|
||||
allowDraftAutosave: 1,
|
||||
useThreads: 0,
|
||||
replySameFolder: 0,
|
||||
|
|
|
|||
|
|
@ -94,7 +94,6 @@ export class MailMessageList extends AbstractViewRight {
|
|||
this.popupVisibility = arePopupsVisible;
|
||||
|
||||
this.useCheckboxesInList = SettingsUserStore.useCheckboxesInList;
|
||||
this.listPerDay = SettingsUserStore.listPerDay;
|
||||
|
||||
this.userUsageProc = FolderUserStore.quotaPercentage;
|
||||
|
||||
|
|
@ -147,6 +146,8 @@ export class MailMessageList extends AbstractViewRight {
|
|||
|
||||
mobileCheckedStateHide: () => ThemeStore.isMobile() ? !MessagelistUserStore.hasChecked() : 1,
|
||||
|
||||
listPerDay: () => SettingsUserStore.listPerDay() && 'DATE' == (FolderUserStore.sortMode() || 'DATE'),
|
||||
|
||||
listByDay: () => {
|
||||
let list = [], current, today = Ymd(new Date()),
|
||||
rtf = Intl.RelativeTimeFormat
|
||||
|
|
|
|||
|
|
@ -693,7 +693,7 @@ class Actions
|
|||
'RemoveColors' => (bool) $oConfig->Get('defaults', 'remove_colors', false),
|
||||
'ListInlineAttachments' => false,
|
||||
'simpleAttachmentsList' => false,
|
||||
'listPerDay' => true,
|
||||
'listPerDay' => false,
|
||||
'MessagesPerPage' => (int) $oConfig->Get('webmail', 'messages_per_page', 25),
|
||||
'MessageReadDelay' => (int) $oConfig->Get('webmail', 'message_read_delay', 5),
|
||||
'MsgDefaultAction' => 1,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue