mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 13:39:22 +03:00
Cleanup views system
This commit is contained in:
parent
c0f494c758
commit
3e494f6519
12 changed files with 26 additions and 40 deletions
|
|
@ -21,7 +21,7 @@ const SignMeOff = 0,
|
|||
|
||||
export class LoginUserView extends AbstractViewLogin {
|
||||
constructor() {
|
||||
super('Login');
|
||||
super();
|
||||
|
||||
this.addObservables({
|
||||
loadingDesc: SettingsGet('LoadingDescription'),
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ import { setExpandedFolder } from 'Model/FolderCollection';
|
|||
|
||||
export class MailFolderList extends AbstractViewLeft {
|
||||
constructor() {
|
||||
super('MailFolderList');
|
||||
super();
|
||||
|
||||
this.oContentScrollable = null;
|
||||
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ const
|
|||
|
||||
export class MailMessageList extends AbstractViewRight {
|
||||
constructor() {
|
||||
super('MailMessageList');
|
||||
super();
|
||||
|
||||
this.bPrefetch = false;
|
||||
this.emptySubjectValue = '';
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ const
|
|||
|
||||
export class MailMessageView extends AbstractViewRight {
|
||||
constructor() {
|
||||
super('MailMessageView');
|
||||
super();
|
||||
|
||||
const
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -3,12 +3,12 @@ import { getFolderInboxName } from 'Common/Cache';
|
|||
|
||||
import { AbstractViewLeft } from 'Knoin/AbstractViews';
|
||||
|
||||
export class MenuSettingsUserView extends AbstractViewLeft {
|
||||
export class SettingsMenuUserView extends AbstractViewLeft {
|
||||
/**
|
||||
* @param {Object} screen
|
||||
*/
|
||||
constructor(screen) {
|
||||
super('SettingsMenu');
|
||||
super();
|
||||
|
||||
this.menu = screen.menu;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,9 +7,9 @@ import { ThemeStore } from 'Stores/Theme';
|
|||
|
||||
import { AbstractViewRight } from 'Knoin/AbstractViews';
|
||||
|
||||
export class PaneSettingsUserView extends AbstractViewRight {
|
||||
export class SettingsPaneUserView extends AbstractViewRight {
|
||||
constructor() {
|
||||
super('SettingsPane');
|
||||
super();
|
||||
|
||||
this.isMobile = ThemeStore.isMobile;
|
||||
this.leftPanelDisabled = leftPanelDisabled;
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ import { getNotification } from 'Common/Translator';
|
|||
|
||||
export class SystemDropDownUserView extends AbstractViewRight {
|
||||
constructor() {
|
||||
super('SystemDropDown');
|
||||
super();
|
||||
|
||||
this.allowAccounts = SettingsCapa('AdditionalAccounts');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue