mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-06 15:47:18 +02:00
Fix not refreshing the page after switching language
This commit is contained in:
parent
293e3c8d73
commit
3eb70498a3
@ -1,4 +1,4 @@
|
|||||||
import { STATES, AppInterface, SCRIPT_HOME, SCRIPT_VERSION } from "../../utils/global";
|
import { STATES, AppInterface, SCRIPT_HOME, SCRIPT_VERSION, refreshLocale } from "../../utils/global";
|
||||||
import { CE, createButton, Icon, ButtonStyle } from "../../utils/html";
|
import { CE, createButton, Icon, ButtonStyle } from "../../utils/html";
|
||||||
import { getPreferredServerRegion } from "../../utils/region";
|
import { getPreferredServerRegion } from "../../utils/region";
|
||||||
import { UserAgent, UserAgentProfile } from "../../utils/user-agent";
|
import { UserAgent, UserAgentProfile } from "../../utils/user-agent";
|
||||||
@ -346,6 +346,3 @@ export function setupSettingsUi() {
|
|||||||
const $pageContent = document.getElementById('PageContent');
|
const $pageContent = document.getElementById('PageContent');
|
||||||
$pageContent?.parentNode?.insertBefore($container, $pageContent);
|
$pageContent?.parentNode?.insertBefore($container, $pageContent);
|
||||||
}
|
}
|
||||||
function refreshLocale() {
|
|
||||||
throw new Error("Function not implemented.");
|
|
||||||
}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user