mirror of
https://github.com/laurent22/joplin.git
synced 2025-01-11 18:24:43 +02:00
Electron: Fixed note sorting bug
This commit is contained in:
parent
df4933fddd
commit
795568d8c2
@ -426,7 +426,7 @@ class Application extends BaseApplication {
|
|||||||
}, {
|
}, {
|
||||||
label: Setting.settingMetadata('notes.sortOrder.reverse').label(),
|
label: Setting.settingMetadata('notes.sortOrder.reverse').label(),
|
||||||
type: 'checkbox',
|
type: 'checkbox',
|
||||||
checked: Setting.setValue('notes.sortOrder.reverse'),
|
checked: Setting.value('notes.sortOrder.reverse'),
|
||||||
screens: ['Main'],
|
screens: ['Main'],
|
||||||
click: () => {
|
click: () => {
|
||||||
Setting.setValue('notes.sortOrder.reverse', !Setting.value('notes.sortOrder.reverse'));
|
Setting.setValue('notes.sortOrder.reverse', !Setting.value('notes.sortOrder.reverse'));
|
||||||
@ -434,7 +434,7 @@ class Application extends BaseApplication {
|
|||||||
}, {
|
}, {
|
||||||
label: Setting.settingMetadata('uncompletedTodosOnTop').label(),
|
label: Setting.settingMetadata('uncompletedTodosOnTop').label(),
|
||||||
type: 'checkbox',
|
type: 'checkbox',
|
||||||
checked: Setting.setValue('uncompletedTodosOnTop'),
|
checked: Setting.value('uncompletedTodosOnTop'),
|
||||||
screens: ['Main'],
|
screens: ['Main'],
|
||||||
click: () => {
|
click: () => {
|
||||||
Setting.setValue('uncompletedTodosOnTop', !Setting.value('uncompletedTodosOnTop'));
|
Setting.setValue('uncompletedTodosOnTop', !Setting.value('uncompletedTodosOnTop'));
|
||||||
|
Loading…
Reference in New Issue
Block a user