diff --git a/disable-spellchecker.patch b/disable-spellchecker.patch deleted file mode 100644 index 1db7773..0000000 --- a/disable-spellchecker.patch +++ /dev/null @@ -1,15 +0,0 @@ -The spellchecker is not configurable - neither selecting one or more languages -or disabling it by the user. So let's drop it completely. - -diff -ru a/src/electron-main.ts b/src/electron-main.ts ---- element-desktop-1.11.69/src/electron-main.ts 2024-06-18 14:28:10.000000000 +0200 -+++ element-desktop-1.11.69/src/electron-main.ts 2024-06-21 13:06:59.581538335 +0200 -@@ -485,7 +485,7 @@ - - // Handle spellchecker - // For some reason spellCheckerEnabled isn't persisted, so we have to use the store here -- global.mainWindow.webContents.session.setSpellCheckerEnabled(global.store.get("spellCheckerEnabled", true)); -+ global.mainWindow.webContents.session.setSpellCheckerEnabled(false); - - // Create trayIcon icon - if (global.store.get("minimizeToTray", true)) tray.create(global.trayConfig); diff --git a/element-desktop.changes b/element-desktop.changes index 26a2002..6665dd9 100644 --- a/element-desktop.changes +++ b/element-desktop.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jun 21 18:08:13 UTC 2024 - Dominik Heidler + +- Remove disable-spellchecker.patch + ------------------------------------------------------------------- Fri Jun 21 11:09:44 UTC 2024 - Dominik Heidler diff --git a/element-desktop.spec b/element-desktop.spec index 67f50dd..16ff1f0 100644 --- a/element-desktop.spec +++ b/element-desktop.spec @@ -31,7 +31,6 @@ Patch0: hak-remove-devdependencies.patch Patch1: 7za-path.patch Patch2: cc-link-lib-no-static.patch Patch3: remove-fuses.patch -Patch4: disable-spellchecker.patch BuildRequires: element-web = %{version} BuildRequires: app-builder BuildRequires: cargo