mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
Resolve #486
This commit is contained in:
parent
67488a56f6
commit
cefe679c98
47 changed files with 117 additions and 15 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import 'External/User/ko';
|
||||
|
||||
import { SMAudio } from 'Common/Audio';
|
||||
import { isArray, pString } from 'Common/Utils';
|
||||
import { isArray, pString, pInt } from 'Common/Utils';
|
||||
import { mailToHelper, setLayoutResizer, dropdownsDetectVisibility } from 'Common/UtilsUser';
|
||||
|
||||
import {
|
||||
|
|
@ -61,7 +61,7 @@ import { AskPopupView } from 'View/Popup/Ask';
|
|||
import {
|
||||
folderInformation,
|
||||
folderInformationMultiply,
|
||||
refreshFoldersInterval,
|
||||
setRefreshFoldersInterval,
|
||||
messagesMoveHelper,
|
||||
messagesDeleteHelper
|
||||
} from 'Common/Folders';
|
||||
|
|
@ -229,13 +229,7 @@ export class AppUser extends AbstractApp {
|
|||
SettingsUserScreen
|
||||
]);
|
||||
|
||||
setInterval(() => {
|
||||
const cF = FolderUserStore.currentFolderFullName(),
|
||||
iF = getFolderInboxName();
|
||||
folderInformation(iF);
|
||||
iF === cF || folderInformation(cF);
|
||||
folderInformationMultiply();
|
||||
}, refreshFoldersInterval);
|
||||
setRefreshFoldersInterval(pInt(SettingsGet('CheckMailInterval')));
|
||||
|
||||
ContactUserStore.init();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue