Remove notes tags display

This commit is contained in:
Mo Bitar
2020-04-17 13:57:43 -05:00
parent 0c6b5cbeb7
commit 8050c9cccd
6 changed files with 37 additions and 47 deletions

View File

@@ -32,7 +32,6 @@ type NotesState = {
hidePinned?: boolean
hideNotePreview?: boolean
hideDate?: boolean
hideTags?: boolean
noteFilter: { text: string }
mutable: { showMenu: boolean }
}
@@ -367,10 +366,6 @@ class NotesViewCtrl extends PureViewCtrl {
WebPrefKey.NotesHideDate,
false
);
viewOptions.hideTags = this.application!.getPrefsService().getValue(
WebPrefKey.NotesHideTags,
false
);
await this.setNotesState({
...viewOptions
});
@@ -394,8 +389,8 @@ class NotesViewCtrl extends PureViewCtrl {
onPanelResize(
newWidth: number,
lastLeft: number,
isAtMaxWidth: boolean,
_: number,
__: boolean,
isCollapsed: boolean
) {
this.application!.getPrefsService().setUserPrefValue(