mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-06 21:28:27 +02:00
Move preferences.ts & settings.ts to utils/
This commit is contained in:
@@ -2,7 +2,7 @@ import { STATES, AppInterface, SCRIPT_HOME, SCRIPT_VERSION } from "../../utils/g
|
||||
import { CE, createButton, Icon, ButtonStyle } from "../../utils/html";
|
||||
import { getPreferredServerRegion } from "../../utils/region";
|
||||
import { UserAgent, UserAgentProfile } from "../../utils/user-agent";
|
||||
import { getPref, Preferences, PrefKey, setPref, toPrefElement } from "../preferences";
|
||||
import { getPref, Preferences, PrefKey, setPref, toPrefElement } from "../../utils/preferences";
|
||||
import { t, refreshCurrentLocale } from "../../utils/translation";
|
||||
|
||||
const SETTINGS_UI = {
|
||||
|
@@ -1,7 +1,7 @@
|
||||
import { SCRIPT_VERSION } from "../../utils/global";
|
||||
import { createButton, Icon, ButtonStyle } from "../../utils/html";
|
||||
import { getPreferredServerRegion } from "../../utils/region";
|
||||
import { PrefKey, getPref } from "../preferences";
|
||||
import { PrefKey, getPref } from "../../utils/preferences";
|
||||
import { RemotePlay } from "../remote-play";
|
||||
import { t } from "../../utils/translation";
|
||||
import { setupSettingsUi } from "./global-settings";
|
||||
|
@@ -3,7 +3,7 @@ import { Icon, CE, createButton, ButtonStyle } from "../../utils/html";
|
||||
import { UserAgent } from "../../utils/user-agent";
|
||||
import { BxEvent } from "../../utils/bx-event";
|
||||
import { MkbRemapper } from "../mkb/mkb-remapper";
|
||||
import { getPref, PrefKey, toPrefElement } from "../preferences";
|
||||
import { getPref, PrefKey, toPrefElement } from "../../utils/preferences";
|
||||
import { setupScreenshotButton } from "../screenshot";
|
||||
import { StreamStats } from "../stream/stream-stats";
|
||||
import { TouchController } from "../touch-controller";
|
||||
|
Reference in New Issue
Block a user