mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 13:39:22 +03:00
Add SPAM button on mobile view (#1073)
This commit is contained in:
parent
78fa5b69fb
commit
eaf60c3c99
6 changed files with 23 additions and 15 deletions
|
|
@ -204,6 +204,16 @@
|
|||
return this.isSpamFolder() && !this.isSpamDisabled() && !this.isDraftFolder() && !this.isSentFolder();
|
||||
}, this);
|
||||
|
||||
this.mobileCheckedStateShow = ko.computed(function () {
|
||||
var checked = 0 < this.messageListChecked().length;
|
||||
return this.mobile ? checked : true;
|
||||
}, this);
|
||||
|
||||
this.mobileCheckedStateHide = ko.computed(function () {
|
||||
var checked = 0 < this.messageListChecked().length;
|
||||
return this.mobile ? !checked : true;
|
||||
}, this);
|
||||
|
||||
this.messageListFocused = ko.computed(function () {
|
||||
return Enums.Focused.MessageList === AppStore.focusedState();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue