mirror of
https://github.com/zimplexing/OrionTV.git
synced 2026-05-13 19:27:30 +08:00
Refactor color scheme handling to use a fixed 'dark' theme and implement SourceSelectionModal for source management in the player
This commit is contained in:
@@ -3,7 +3,7 @@ import { useFonts } from "expo-font";
|
||||
import { Stack } from "expo-router";
|
||||
import * as SplashScreen from "expo-splash-screen";
|
||||
import { useEffect } from "react";
|
||||
import { Platform, useColorScheme } from "react-native";
|
||||
import { Platform } from "react-native";
|
||||
|
||||
import { useSettingsStore } from "@/stores/settingsStore";
|
||||
|
||||
@@ -11,7 +11,7 @@ import { useSettingsStore } from "@/stores/settingsStore";
|
||||
SplashScreen.preventAutoHideAsync();
|
||||
|
||||
export default function RootLayout() {
|
||||
const colorScheme = useColorScheme() ?? "dark";
|
||||
const colorScheme = "dark";
|
||||
const [loaded, error] = useFonts({
|
||||
SpaceMono: require("../assets/fonts/SpaceMono-Regular.ttf"),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user