From 91de06d2a64dc9b8ac1f2e00f2a7954502ef6ddd Mon Sep 17 00:00:00 2001 From: Kenichi Kobayashi Date: Thu, 9 Sep 2021 21:42:29 +0900 Subject: [PATCH] fix typo. --- .../gui/MainScreen/commands/notesSortOrderSwitch.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/app-desktop/gui/MainScreen/commands/notesSortOrderSwitch.ts b/packages/app-desktop/gui/MainScreen/commands/notesSortOrderSwitch.ts index eae09bd973e..9c258eabe48 100644 --- a/packages/app-desktop/gui/MainScreen/commands/notesSortOrderSwitch.ts +++ b/packages/app-desktop/gui/MainScreen/commands/notesSortOrderSwitch.ts @@ -41,7 +41,7 @@ export const runtime = (): CommandRuntime => { // field: Sort order's field. undefined means switching a field. // reverse: whether the sort order is reversed or not. undefined means toggling. // - // To support CommandService.cheduleExecute(), field accepts an size-two Array, + // To support CommandService.scheduleExecute(), field accepts an size-two Array, // which means [field, reverse]. let nextField: string; let nextReverse: boolean; @@ -56,7 +56,7 @@ export const runtime = (): CommandRuntime => { const currentReverse = Setting.value(SETTING_REVERSE); const enabled = Setting.value(SETTING_PER_FIELD_REVERSAL_ENABLED); if (enabled) { - if (perFieldReverse == null) { + if (perFieldReverse === null) { perFieldReverse = { ...Setting.value(SETTING_PER_FIELD_REVERSE) }; } }