From 3cc7b9050c3f60a8ae8dad5ca79f8a4f28574077 Mon Sep 17 00:00:00 2001 From: Hampus Date: Sun, 30 Aug 2026 00:12:48 +0200 Subject: [PATCH] fix(app): clear stuck spellcheck reload banner (#2107) --- fluxer_app/src/features/messaging/state/Spellcheck.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/fluxer_app/src/features/messaging/state/Spellcheck.ts b/fluxer_app/src/features/messaging/state/Spellcheck.ts index a93530fcb..783ab4fe6 100644 --- a/fluxer_app/src/features/messaging/state/Spellcheck.ts +++ b/fluxer_app/src/features/messaging/state/Spellcheck.ts @@ -56,9 +56,8 @@ class Spellcheck { get reloadRequired(): boolean { if (!this.providerActivationEngine) return false; const isLinuxDesktop = getElectronAPI()?.platform === 'linux'; - const wasHunspell = this.providerActivationEngine === 'hunspell' || this.providerActivationEngine === 'auto'; - const isHunspell = - this.engine === 'hunspell' || this.engine === 'auto' || (isLinuxDesktop && this.engine === 'system'); + const wasHunspell = this.providerActivationEngine === 'hunspell'; + const isHunspell = isLinuxDesktop ? true : this.engine === 'hunspell'; return wasHunspell !== isHunspell; }