currect edit profile button

This commit is contained in:
Jaanu423
2025-09-18 16:40:04 +05:30
parent c040840040
commit f7b9cb9190
5 changed files with 124 additions and 85 deletions
+9 -7
View File
@@ -11,6 +11,7 @@ import {
import * as Keychain from "react-native-keychain";
import { useFocusEffect, useNavigation } from "@react-navigation/native";
import { BASE_URL } from "../../utils/ApiUrls";
import colors from "../../components/colors";
export type ApiResponse = {
message: string;
@@ -136,13 +137,14 @@ const UserProfileStatus: React.FC = () => {
<TouchableOpacity
style={[styles.button, { backgroundColor: "#ccc", marginTop: 8 }]}
onPress={() => { if (intervalId) {
clearInterval(intervalId);
setIntervalId(null);
}
onPress={() => {
if (intervalId) {
clearInterval(intervalId);
setIntervalId(null);
}
setShowModal(false);
}}
setShowModal(false);
}}
>
<Text style={[styles.buttonText, { color: "#333" }]}>Close</Text>
</TouchableOpacity>
@@ -221,7 +223,7 @@ const styles = StyleSheet.create({
fontSize: 20,
fontWeight: "700",
marginBottom: 10,
color: "#FF9500",
color: colors.primary,
},
modalText: {
fontSize: 14,