mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2024-12-23 02:00:17 +03:00
Fix Button not updating
This commit is contained in:
parent
e11beb4a72
commit
e75952ca68
1 changed files with 2 additions and 1 deletions
|
@ -37,7 +37,8 @@ $(() => {
|
||||||
|
|
||||||
ipcRenderer.on('change-lang', (event: void, data: any) => {
|
ipcRenderer.on('change-lang', (event: void, data: any) => {
|
||||||
LauncherUI.updateBackground();
|
LauncherUI.updateBackground();
|
||||||
LauncherUI.updateLang();
|
// Needs data.lang in the arguments since the button doesn't get updated otherwise.
|
||||||
|
LauncherUI.updateLang(data.lang);
|
||||||
});
|
});
|
||||||
|
|
||||||
let rpc: any;
|
let rpc: any;
|
||||||
|
|
Loading…
Reference in a new issue