1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-11-24 08:12:24 +02:00

Desktop: Fixed toggleNoteList and toggleSidebar commands

This commit is contained in:
Laurent Cozic 2020-10-13 13:01:02 +01:00
parent c648f19693
commit c328996568
2 changed files with 2 additions and 8 deletions

View File

@ -4,7 +4,7 @@ import { _ } from 'lib/locale';
export const declaration:CommandDeclaration = {
name: 'toggleNoteList',
label: () => _('Toggle note list'),
iconName: 'fa-align-justify',
iconName: 'fas fa-align-justify',
};
export const runtime = (comp:any):CommandRuntime => {
@ -14,8 +14,5 @@ export const runtime = (comp:any):CommandRuntime => {
type: 'NOTELIST_VISIBILITY_TOGGLE',
});
},
title: () => {
return _('Toggle note list');
},
};
};

View File

@ -4,7 +4,7 @@ import { _ } from 'lib/locale';
export const declaration:CommandDeclaration = {
name: 'toggleSidebar',
label: () => _('Toggle sidebar'),
iconName: 'fa-bars',
iconName: 'fas fa-bars',
};
export const runtime = (comp:any):CommandRuntime => {
@ -14,8 +14,5 @@ export const runtime = (comp:any):CommandRuntime => {
type: 'SIDEBAR_VISIBILITY_TOGGLE',
});
},
title: () => {
return _('Toggle sidebar');
},
};
};