fix bug themes

This commit is contained in:
2025-11-19 17:11:10 +07:00
parent d8874fbe60
commit 7cb35efd30
6 changed files with 17 additions and 19 deletions

View File

@@ -14,14 +14,12 @@ import { toastConfig } from "@/config";
import { setRouterInstance } from "@/config/auth";
import "@/global.css";
import { I18nProvider } from "@/hooks/use-i18n";
import { ThemeProvider as AppThemeProvider } from "@/hooks/use-theme-context";
import { useColorScheme } from "react-native";
import { ThemeProvider as AppThemeProvider, useThemeContext } from "@/hooks/use-theme-context";
import Toast from "react-native-toast-message";
import "../global.css";
function AppContent() {
// const { colorScheme } = useThemeContext();
const router = useRouter();
const colorScheme = useColorScheme();
const { colorScheme } = useThemeContext();
console.log("Color Scheme: ", colorScheme);
useEffect(() => {