mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
Merge branch 'feature/profile-redesign' of github.com:hydralauncher/hydra into feature/profile-redesign
This commit is contained in:
commit
14b204b1c3
8 changed files with 59 additions and 38 deletions
|
@ -41,8 +41,11 @@ i18n
|
|||
escapeValue: false,
|
||||
},
|
||||
})
|
||||
.then(() => {
|
||||
window.electron.updateUserPreferences({ language: i18n.language });
|
||||
.then(async () => {
|
||||
const userPreferences = await window.electron.getUserPreferences();
|
||||
if (!userPreferences?.language) {
|
||||
window.electron.updateUserPreferences({ language: i18n.language });
|
||||
}
|
||||
});
|
||||
|
||||
ReactDOM.createRoot(document.getElementById("root")!).render(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue