A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.
fix(app): clear stuck spellcheck reload banner (#2107)
Hampus3cc7b9050c3f
diff --git a/fluxer_app/src/features/messaging/state/Spellcheck.ts b/fluxer_app/src/features/messaging/state/Spellcheck.tsindex 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;}