mirror of
https://github.com/fluxerapp/fluxer.git
synced 2026-09-03 05:10:25 +03:00
fix(app): clear stuck spellcheck reload banner (#2107)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user