mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 20:49:20 +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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue