mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-28 03:29:20 +03:00
Small GUI fixes (#1014)
This commit is contained in:
parent
f64b63c549
commit
3215c5f8d3
13 changed files with 73 additions and 48 deletions
|
|
@ -63,18 +63,10 @@
|
|||
this.isInboxStarred = ko.computed(function () {
|
||||
return FolderStore.currentFolder() &&
|
||||
FolderStore.currentFolder().isInbox() &&
|
||||
'is:flagged' === MessageStore.messageListSearch()
|
||||
-1 < Utils.trim(MessageStore.messageListSearch()).indexOf('is:flagged')
|
||||
;
|
||||
});
|
||||
|
||||
this.displayNewText = ko.observable(false);
|
||||
this.displayNewMessageText = ko.observable(false);
|
||||
|
||||
Globals.leftPanelWidth.subscribe(function(v){
|
||||
this.displayNewText(170 < v && 230 >= v);
|
||||
this.displayNewMessageText(230 < v);
|
||||
}, this);
|
||||
|
||||
kn.constructorEnd(this);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue