Move preferences.ts & settings.ts to utils/

This commit is contained in:
redphx
2024-04-27 15:23:49 +07:00
parent dcb4f7471f
commit 18f50e6a20
26 changed files with 32 additions and 33 deletions

View File

@@ -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 = {