From ac35730e3bdac166729981be71dc0f7ca18bf218 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Mon, 6 Apr 2026 21:56:31 +0300 Subject: [PATCH] feat(options/spellcheck): add button to reload app --- .../src/widgets/type_widgets/options/spellcheck.tsx | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/apps/client/src/widgets/type_widgets/options/spellcheck.tsx b/apps/client/src/widgets/type_widgets/options/spellcheck.tsx index 7e919a6500..fe5bca5bf5 100644 --- a/apps/client/src/widgets/type_widgets/options/spellcheck.tsx +++ b/apps/client/src/widgets/type_widgets/options/spellcheck.tsx @@ -2,7 +2,7 @@ import { useCallback, useMemo } from "preact/hooks"; import appContext from "../../../components/app_context"; import { t } from "../../../services/i18n"; -import { dynamicRequire, isElectron } from "../../../services/utils"; +import { dynamicRequire, isElectron, restartDesktopApp } from "../../../services/utils"; import Button from "../../react/Button"; import FormText from "../../react/FormText"; import FormToggle from "../../react/FormToggle"; @@ -38,6 +38,15 @@ function ElectronSpellcheckSettings() { onChange={setSpellCheckEnabled} /> + + +