mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 21:49:21 +03:00
Cleanup __APP__/getApp code
This commit is contained in:
parent
29cf711a6a
commit
b904eca98e
34 changed files with 86 additions and 146 deletions
|
|
@ -9,8 +9,6 @@ import FolderStore from 'Stores/User/Folder';
|
|||
|
||||
import Remote from 'Remote/User/Fetch';
|
||||
|
||||
import { getApp } from 'Helper/Apps/User';
|
||||
|
||||
import { popup, command } from 'Knoin/Knoin';
|
||||
import { AbstractViewNext } from 'Knoin/AbstractViewNext';
|
||||
|
||||
|
|
@ -53,7 +51,7 @@ class FolderCreateView extends AbstractViewNext {
|
|||
parentFolderName = FolderStore.namespace.substr(0, FolderStore.namespace.length - 1);
|
||||
}
|
||||
|
||||
getApp().foldersPromisesActionHelper(
|
||||
rl.app.foldersPromisesActionHelper(
|
||||
Remote.folderCreate(this.folderName(), parentFolderName, FolderStore.foldersCreating),
|
||||
Notification.CantCreateFolder
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue