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

Electron: Fixed note sorting bug

This commit is contained in:
Laurent Cozic 2018-02-27 21:11:53 +00:00
parent df4933fddd
commit 795568d8c2

View File

@ -426,7 +426,7 @@ class Application extends BaseApplication {
}, {
label: Setting.settingMetadata('notes.sortOrder.reverse').label(),
type: 'checkbox',
checked: Setting.setValue('notes.sortOrder.reverse'),
checked: Setting.value('notes.sortOrder.reverse'),
screens: ['Main'],
click: () => {
Setting.setValue('notes.sortOrder.reverse', !Setting.value('notes.sortOrder.reverse'));
@ -434,7 +434,7 @@ class Application extends BaseApplication {
}, {
label: Setting.settingMetadata('uncompletedTodosOnTop').label(),
type: 'checkbox',
checked: Setting.setValue('uncompletedTodosOnTop'),
checked: Setting.value('uncompletedTodosOnTop'),
screens: ['Main'],
click: () => {
Setting.setValue('uncompletedTodosOnTop', !Setting.value('uncompletedTodosOnTop'));