mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-04 23:17:02 +03:00
Cleanup __APP__/getApp code
This commit is contained in:
parent
29cf711a6a
commit
b904eca98e
34 changed files with 86 additions and 146 deletions
|
|
@ -5,8 +5,6 @@ import { getNotification } from 'Common/Translator';
|
|||
|
||||
import Remote from 'Remote/User/Fetch';
|
||||
|
||||
import { getApp } from 'Helper/Apps/User';
|
||||
|
||||
import { popup, command } from 'Knoin/Knoin';
|
||||
import { AbstractViewNext } from 'Knoin/AbstractViewNext';
|
||||
|
||||
|
|
@ -57,7 +55,7 @@ class AccountPopupView extends AbstractViewNext {
|
|||
this.submitRequest(false);
|
||||
if (StorageResultType.Success === result && data) {
|
||||
if (data.Result) {
|
||||
getApp().accountsAndIdentities();
|
||||
rl.app.accountsAndIdentities();
|
||||
this.cancelCommand();
|
||||
} else {
|
||||
this.submitError(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue