feat: Enhance settings screen with section tracking and success notifications; update remote control UI to support localization

This commit is contained in:
zimplexing
2025-07-11 19:11:25 +08:00
parent 7947a532ec
commit 6df4f256e9
4 changed files with 47 additions and 29 deletions

View File

@@ -183,13 +183,13 @@ export class SearchHistoryManager {
export class SettingsManager {
static async get(): Promise<AppSettings> {
const defaultSettings: AppSettings = {
apiBaseUrl: "https://orion-tv.edu.deal",
apiBaseUrl: "",
remoteInputEnabled: true,
videoSource: {
enabledAll: true,
sources: {},
},
m3uUrl: "https://raw.githubusercontent.com/sjnhnp/adblock/refs/heads/main/filtered_http_only_valid.m3u",
m3uUrl: "https://ghfast.top/https://raw.githubusercontent.com/sjnhnp/adblock/refs/heads/main/filtered_http_only_valid.m3u",
};
try {
const data = await AsyncStorage.getItem(STORAGE_KEYS.SETTINGS);