manage theme

This commit is contained in:
Jaanu423
2025-09-22 10:48:14 +05:30
parent 04f91c0b03
commit e7158df0f8
9 changed files with 122 additions and 87 deletions
+2 -2
View File
@@ -4,7 +4,7 @@ import * as Keychain from "react-native-keychain";
import { StackNavigationProp } from "@react-navigation/stack";
import { useNavigation } from "@react-navigation/native";
import { RootStackParamList } from "../navigation/AppNavigator"; // adjust path
import { BASE_URL } from "../utils/ApiUrls";
import { BASE_URL, PUT_USER_STATUS } from "../utils/ApiUrls";
import { useDispatch, useSelector } from "react-redux";
import { setUserData } from "../redux/userSlice";
import colors from "../components/colors";
@@ -30,7 +30,7 @@ const SplashScreen = () => {
}
const token = credentials.password;
const response = await fetch(`${BASE_URL}user/profile/status`, {
const response = await fetch(PUT_USER_STATUS, {
method: "GET",
headers: {
Accept: "*/*",