mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 05:29:20 +03:00
Cleanup __APP__/getApp code
This commit is contained in:
parent
29cf711a6a
commit
b904eca98e
34 changed files with 86 additions and 146 deletions
|
|
@ -4,8 +4,6 @@ import { pInt } from 'Common/Utils';
|
|||
|
||||
import PgpStore from 'Stores/User/Pgp';
|
||||
|
||||
import { getApp } from 'Helper/Apps/User';
|
||||
|
||||
import { popup, command } from 'Knoin/Knoin';
|
||||
import { AbstractViewNext } from 'Knoin/AbstractViewNext';
|
||||
|
||||
|
|
@ -68,7 +66,7 @@ class NewOpenPgpKeyPopupView extends AbstractViewNext {
|
|||
|
||||
openpgpKeyring.store();
|
||||
|
||||
getApp().reloadOpenPgpKeys();
|
||||
rl.app.reloadOpenPgpKeys();
|
||||
this.cancelCommand && this.cancelCommand();
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue