mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-04 15:07:02 +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
|
|
@ -2,17 +2,11 @@ import ko from 'ko';
|
|||
|
||||
import { convertLangName } from 'Common/Utils';
|
||||
|
||||
// import {view, ViewType} from 'Knoin/Knoin';
|
||||
import { popup } from 'Knoin/Knoin';
|
||||
import { AbstractViewNext } from 'Knoin/AbstractViewNext';
|
||||
import { AbstractViewPopup } from 'Knoin/AbstractViews';
|
||||
|
||||
@popup({
|
||||
name: 'View/Popup/Languages',
|
||||
templateID: 'PopupsLanguages'
|
||||
})
|
||||
class LanguagesPopupView extends AbstractViewNext {
|
||||
class LanguagesPopupView extends AbstractViewPopup {
|
||||
constructor() {
|
||||
super();
|
||||
super('Languages');
|
||||
|
||||
this.fLang = null;
|
||||
this.userLanguage = ko.observable('');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue