mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 20:49:20 +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
|
|
@ -35,8 +35,8 @@ import * as Local from 'Storage/Client';
|
|||
|
||||
import Remote from 'Remote/User/Fetch';
|
||||
|
||||
import { view, command, ViewType, showScreenPopup, createCommand } from 'Knoin/Knoin';
|
||||
import { AbstractViewNext } from 'Knoin/AbstractViewNext';
|
||||
import { command, showScreenPopup, createCommand } from 'Knoin/Knoin';
|
||||
import { AbstractViewRight } from 'Knoin/AbstractViews';
|
||||
|
||||
const Settings = rl.settings;
|
||||
|
||||
|
|
@ -44,14 +44,9 @@ function isTransparent(color) {
|
|||
return 'rgba(0, 0, 0, 0)' === color || 'transparent' === color;
|
||||
}
|
||||
|
||||
@view({
|
||||
name: 'View/User/MailBox/MessageView',
|
||||
type: ViewType.Right,
|
||||
templateID: 'MailMessageView'
|
||||
})
|
||||
class MessageViewMailBoxUserView extends AbstractViewNext {
|
||||
class MessageViewMailBoxUserView extends AbstractViewRight {
|
||||
constructor() {
|
||||
super();
|
||||
super('User/MailBox/MessageView', 'MailMessageView');
|
||||
|
||||
const createCommandReplyHelper = type =>
|
||||
createCommand(() => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue