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:
parent
c648f19693
commit
c328996568
@ -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');
|
||||
},
|
||||
};
|
||||
};
|
||||
|
@ -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');
|
||||
},
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user