mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 20:19:22 +03:00
Cleanup __APP__/getApp code
This commit is contained in:
parent
29cf711a6a
commit
b904eca98e
34 changed files with 86 additions and 146 deletions
|
|
@ -22,8 +22,6 @@ import { subQueryPrefix } from 'Common/Links';
|
|||
import AppStore from 'Stores/User/App';
|
||||
import SettingsStore from 'Stores/User/Settings';
|
||||
|
||||
import { getApp } from 'Helper/Apps/User';
|
||||
|
||||
import { AbstractFetchRemote } from 'Remote/AbstractFetch';
|
||||
|
||||
//const toUTF8 = window.TextEncoder
|
||||
|
|
@ -469,7 +467,7 @@ class RemoteUserFetch extends AbstractFetchRemote {
|
|||
UidNext: getFolderInboxName() === folder ? getFolderUidNext(folder) : ''
|
||||
});
|
||||
} else if (SettingsStore.useThreads()) {
|
||||
getApp().reloadFlagsCurrentMessageListAndMessageFromCache();
|
||||
rl.app.reloadFlagsCurrentMessageListAndMessageFromCache();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue