mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-08 22:18:28 +03:00
#84 as plugin
This commit is contained in:
parent
84f3a7dd77
commit
d9bab28bfe
16 changed files with 1206 additions and 0 deletions
|
|
@ -1,5 +1,7 @@
|
|||
import { settingsAddViewModel } from 'Screen/AbstractSettings';
|
||||
import { SettingsGet } from 'Common/Globals';
|
||||
import { showScreenPopup } from 'Knoin/Knoin';
|
||||
import { AbstractViewPopup } from 'Knoin/AbstractViews';
|
||||
|
||||
const USER_VIEW_MODELS_HOOKS = [],
|
||||
ADMIN_VIEW_MODELS_HOOKS = [];
|
||||
|
|
@ -53,3 +55,6 @@ rl.pluginSettingsGet = (pluginSection, name) => {
|
|||
plugins = plugins && null != plugins[pluginSection] ? plugins[pluginSection] : null;
|
||||
return plugins ? (null == plugins[name] ? null : plugins[name]) : null;
|
||||
};
|
||||
|
||||
rl.showPluginPopup = showScreenPopup;
|
||||
rl.pluginPopupView = AbstractViewPopup;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue