From 0ae13c9ffef382d339f70599967ca41bcce865b9 Mon Sep 17 00:00:00 2001 From: Adolfo Reyna Date: Sat, 22 Feb 2025 00:00:07 -0500 Subject: [PATCH] Enable profile photo touch --- components/ProfilePhotoCircle.js | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/components/ProfilePhotoCircle.js b/components/ProfilePhotoCircle.js index 096b10e..ef0ef1c 100644 --- a/components/ProfilePhotoCircle.js +++ b/components/ProfilePhotoCircle.js @@ -1,6 +1,6 @@ import React, { useState, useEffect } from 'react'; import { Avatar } from 'react-native-paper'; -import { View, StyleSheet, Text } from 'react-native'; +import { View, StyleSheet, Text, TouchableOpacity } from 'react-native'; import API from './../API.js'; import { useNavigation } from '@react-navigation/native'; import { Image } from 'expo-image'; // Import Image from expo-image @@ -29,13 +29,17 @@ const ProfileHeader = ({ profileid, withName = false, small = false }) => { } return ( + + style={{ + width: small ? 25 : 35, + height: small ? 25 : 35, + aspectRatio: 1, + borderRadius: 50, + }} cachePolicy="memory-disk" + /> + + {fullName}