mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 21:49:21 +03:00
Replace viewDecorator and popupDecorator with proper AbstractView classes
This commit is contained in:
parent
51958babba
commit
864da66b5f
38 changed files with 202 additions and 359 deletions
|
|
@ -4,17 +4,11 @@ import { leftPanelDisabled } from 'Common/Globals';
|
|||
|
||||
import MessageStore from 'Stores/User/Message';
|
||||
|
||||
import { view, ViewType } from 'Knoin/Knoin';
|
||||
import { AbstractViewNext } from 'Knoin/AbstractViewNext';
|
||||
import { AbstractViewRight } from 'Knoin/AbstractViews';
|
||||
|
||||
@view({
|
||||
name: 'View/User/Settings/Pane',
|
||||
type: ViewType.Right,
|
||||
templateID: 'SettingsPane'
|
||||
})
|
||||
class PaneSettingsUserView extends AbstractViewNext {
|
||||
class PaneSettingsUserView extends AbstractViewRight {
|
||||
constructor() {
|
||||
super();
|
||||
super('User/Settings/Pane', 'SettingsPane');
|
||||
|
||||
this.mobile = rl.settings.app('mobile');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue