mirror of
https://github.com/zimplexing/OrionTV.git
synced 2026-05-14 03:37:29 +08:00
Update
This commit is contained in:
@@ -25,6 +25,7 @@ export interface AppSettings {
|
||||
theme: "light" | "dark" | "auto";
|
||||
autoPlay: boolean;
|
||||
playbackSpeed: number;
|
||||
apiBaseUrl: string;
|
||||
}
|
||||
|
||||
// --- Helper ---
|
||||
@@ -177,6 +178,7 @@ export class SettingsManager {
|
||||
theme: "auto",
|
||||
autoPlay: true,
|
||||
playbackSpeed: 1.0,
|
||||
apiBaseUrl: "http://127.0.0.1:3001",
|
||||
};
|
||||
try {
|
||||
const data = await AsyncStorage.getItem(STORAGE_KEYS.SETTINGS);
|
||||
|
||||
Reference in New Issue
Block a user