commit by adnan
This commit is contained in:
parent
782d88b9f1
commit
b68ad15d6b
|
@ -87,6 +87,7 @@ function Settings() {
|
||||||
refetchQueries: [{ query: PROFILE }],
|
refetchQueries: [{ query: PROFILE }],
|
||||||
});
|
});
|
||||||
const modalizeRef = useRef(null);
|
const modalizeRef = useRef(null);
|
||||||
|
const modalizeRef1 = useRef(null);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
navigation.setOptions({
|
navigation.setOptions({
|
||||||
|
@ -310,17 +311,7 @@ function Settings() {
|
||||||
|
|
||||||
<TouchableOpacity
|
<TouchableOpacity
|
||||||
activeOpacity={0.7}
|
activeOpacity={0.7}
|
||||||
onPress={() => modalizeRef.current.open("top")}
|
onPress={() => modalizeRef1.current.open("top")}
|
||||||
// onPress={
|
|
||||||
// async () => {
|
|
||||||
// await updateUserInformation();
|
|
||||||
// logout();
|
|
||||||
// navigation.reset({
|
|
||||||
// routes: [{ name: "Menu" }],
|
|
||||||
// }
|
|
||||||
// );
|
|
||||||
// //navigation.dispatch(DrawerActions.closeDrawer());
|
|
||||||
// }}
|
|
||||||
style={[styles.notificationContainer, styles.shadow]}
|
style={[styles.notificationContainer, styles.shadow]}
|
||||||
>
|
>
|
||||||
<View style={styles.notificationChekboxContainer}>
|
<View style={styles.notificationChekboxContainer}>
|
||||||
|
@ -370,7 +361,7 @@ function Settings() {
|
||||||
</Modalize>
|
</Modalize>
|
||||||
{/* Modal for Delete Account */}
|
{/* Modal for Delete Account */}
|
||||||
<Modalize
|
<Modalize
|
||||||
ref={modalizeRef}
|
ref={modalizeRef1}
|
||||||
adjustToContentHeight
|
adjustToContentHeight
|
||||||
handlePosition="inside"
|
handlePosition="inside"
|
||||||
avoidKeyboardLikeIOS={Platform.select({
|
avoidKeyboardLikeIOS={Platform.select({
|
||||||
|
|
Loading…
Reference in New Issue