mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-29 03:59: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
|
|
@ -6,13 +6,13 @@ import { Capa, KeyState } from 'Common/Enums';
|
|||
import { settings } from 'Common/Links';
|
||||
|
||||
import { showScreenPopup } from 'Knoin/Knoin';
|
||||
import { AbstractViewNext } from 'Knoin/AbstractViewNext';
|
||||
import { AbstractViewRight } from 'Knoin/AbstractViews';
|
||||
|
||||
const Settings = rl.settings;
|
||||
|
||||
export class AbstractSystemDropDownUserView extends AbstractViewNext {
|
||||
constructor() {
|
||||
super();
|
||||
export class AbstractSystemDropDownUserView extends AbstractViewRight {
|
||||
constructor(name) {
|
||||
super(name, 'SystemDropDown');
|
||||
|
||||
this.mobile = !!Settings.app('mobile');
|
||||
this.mobileDevice = !!Settings.app('mobileDevice');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue