mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 21:19:21 +03:00
Remove Common/Enums Magics.*
This commit is contained in:
parent
382aef7ebb
commit
6541a1de7c
38 changed files with 135 additions and 219 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { Focused, Capa, ClientSideKeyName, Magics } from 'Common/Enums';
|
||||
import { Focused, Capa, ClientSideKeyName } from 'Common/Enums';
|
||||
import { $html, leftPanelDisabled, leftPanelType, moveAction, bMobileDevice } from 'Common/Globals';
|
||||
import { pString, pInt, windowResizeCallback } from 'Common/Utils';
|
||||
import { getFolderFromCacheList, getFolderFullNameRaw, getFolderInboxName } from 'Common/Cache';
|
||||
|
|
@ -107,8 +107,8 @@ class MailBoxUserScreen extends AbstractScreen {
|
|||
MessageStore.messageList.subscribe(windowResizeCallback);
|
||||
MessageStore.message.subscribe(windowResizeCallback);
|
||||
|
||||
setTimeout(() => SettingsStore.layout.valueHasMutated(), Magics.Time50ms);
|
||||
setTimeout(() => warmUpScreenPopup(require('View/Popup/Compose')), Magics.Time500ms);
|
||||
setTimeout(() => SettingsStore.layout.valueHasMutated(), 50);
|
||||
setTimeout(() => warmUpScreenPopup(require('View/Popup/Compose')), 500);
|
||||
|
||||
Events.sub('mailbox.inbox-unread-count', (count) => {
|
||||
FolderStore.foldersInboxUnreadCount(count);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue