From 795568d8c2261f2a241a611b253fe003ba230119 Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Tue, 27 Feb 2018 21:11:53 +0000 Subject: [PATCH] Electron: Fixed note sorting bug --- ElectronClient/app/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ElectronClient/app/app.js b/ElectronClient/app/app.js index a411cf0fe..0e87a73ac 100644 --- a/ElectronClient/app/app.js +++ b/ElectronClient/app/app.js @@ -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'));