mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Cleanup __APP__/getApp code
This commit is contained in:
parent
29cf711a6a
commit
b904eca98e
34 changed files with 86 additions and 146 deletions
|
|
@ -8,8 +8,6 @@ import MessageStore from 'Stores/User/Message';
|
|||
|
||||
import Remote from 'Remote/User/Fetch';
|
||||
|
||||
import { getApp } from 'Helper/Apps/User';
|
||||
|
||||
import { popup, command } from 'Knoin/Knoin';
|
||||
import { AbstractViewNext } from 'Knoin/AbstractViewNext';
|
||||
|
||||
|
|
@ -62,7 +60,7 @@ class FolderClearPopupView extends AbstractViewNext {
|
|||
Remote.folderClear((result, data) => {
|
||||
this.clearingProcess(false);
|
||||
if (StorageResultType.Success === result && data && data.Result) {
|
||||
getApp().reloadMessageList(true);
|
||||
rl.app.reloadMessageList(true);
|
||||
this.cancelCommand();
|
||||
} else {
|
||||
if (data && data.ErrorCode) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue