feat: show selected editor icon in change editor button (#1615)

This commit is contained in:
Aman Harwara
2022-09-22 20:22:49 +05:30
committed by GitHub
parent cb7af03ce8
commit ce252def33
4 changed files with 35 additions and 5 deletions

View File

@@ -116,7 +116,7 @@ export class NotesController extends AbstractViewController {
return this.application.items.trashedItems.length
}
setContextMenuOpen(open: boolean): void {
setContextMenuOpen = (open: boolean) => {
this.contextMenuOpen = open
}