mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-09-07 05:34:12 +08:00
Merge SystemDropDownMailBoxUserView & SystemDropDownSettingsUserView into SystemDropDownUserView
This commit is contained in:
parent
1c23ccd327
commit
8010229d6b
5 changed files with 5 additions and 19 deletions
|
@ -10,7 +10,7 @@ import { FolderUserStore } from 'Stores/User/Folder';
|
|||
import { MessageUserStore } from 'Stores/User/Message';
|
||||
import { ThemeStore } from 'Stores/Theme';
|
||||
|
||||
import { SystemDropDownMailBoxUserView } from 'View/User/MailBox/SystemDropDown';
|
||||
import { SystemDropDownUserView } from 'View/User/SystemDropDown';
|
||||
import { MailFolderList } from 'View/User/MailBox/FolderList';
|
||||
import { MailMessageList } from 'View/User/MailBox/MessageList';
|
||||
import { MailMessageView } from 'View/User/MailBox/MessageView';
|
||||
|
@ -20,7 +20,7 @@ import { AbstractScreen } from 'Knoin/AbstractScreen';
|
|||
export class MailBoxUserScreen extends AbstractScreen {
|
||||
constructor() {
|
||||
super('mailbox', [
|
||||
SystemDropDownMailBoxUserView,
|
||||
SystemDropDownUserView,
|
||||
MailFolderList,
|
||||
MailMessageList,
|
||||
MailMessageView
|
||||
|
|
|
@ -18,13 +18,13 @@ import { FoldersUserSettings } from 'Settings/User/Folders';
|
|||
import { ThemesUserSettings } from 'Settings/User/Themes';
|
||||
import { OpenPgpUserSettings } from 'Settings/User/OpenPgp';
|
||||
|
||||
import { SystemDropDownSettingsUserView } from 'View/User/Settings/SystemDropDown';
|
||||
import { SystemDropDownUserView } from 'View/User/SystemDropDown';
|
||||
import { MenuSettingsUserView } from 'View/User/Settings/Menu';
|
||||
import { PaneSettingsUserView } from 'View/User/Settings/Pane';
|
||||
|
||||
export class SettingsUserScreen extends AbstractSettingsScreen {
|
||||
constructor() {
|
||||
super([SystemDropDownSettingsUserView, MenuSettingsUserView, PaneSettingsUserView]);
|
||||
super([SystemDropDownUserView, MenuSettingsUserView, PaneSettingsUserView]);
|
||||
|
||||
settingsAddViewModel(GeneralUserSettings, 'SettingsGeneral', 'SETTINGS_LABELS/LABEL_GENERAL_NAME', 'general', true);
|
||||
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
import { AbstractSystemDropDownUserView } from 'View/User/AbstractSystemDropDown';
|
||||
|
||||
class SystemDropDownMailBoxUserView extends AbstractSystemDropDownUserView
|
||||
{
|
||||
}
|
||||
|
||||
export { SystemDropDownMailBoxUserView };
|
|
@ -1,7 +0,0 @@
|
|||
import { AbstractSystemDropDownUserView } from 'View/User/AbstractSystemDropDown';
|
||||
|
||||
class SystemDropDownSettingsUserView extends AbstractSystemDropDownUserView
|
||||
{
|
||||
}
|
||||
|
||||
export { SystemDropDownSettingsUserView };
|
|
@ -16,7 +16,7 @@ import { doc, Settings, leftPanelDisabled } from 'Common/Globals';
|
|||
|
||||
import { ThemeStore } from 'Stores/Theme';
|
||||
|
||||
export class AbstractSystemDropDownUserView extends AbstractViewRight {
|
||||
export class SystemDropDownUserView extends AbstractViewRight {
|
||||
constructor() {
|
||||
super('SystemDropDown');
|
||||
|
Loading…
Add table
Reference in a new issue