currect edit profile button
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user