Match multiple locales for spellchecker
This commit is contained in:
parent
2edc47118e
commit
a4055cec40
5 changed files with 72 additions and 31 deletions
|
@ -800,7 +800,11 @@ async function createWindow() {
|
|||
}
|
||||
|
||||
mainWindowCreated = true;
|
||||
setupSpellChecker(mainWindow, getResolvedMessagesLocale());
|
||||
setupSpellChecker(
|
||||
mainWindow,
|
||||
getPreferredSystemLocales(),
|
||||
getResolvedMessagesLocale().i18n
|
||||
);
|
||||
if (!startInTray && windowConfig && windowConfig.maximized) {
|
||||
mainWindow.maximize();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue