Fixed image not displaying. I think we may have most of the homepage working now!

This commit is contained in:
gib
2024-10-18 14:27:27 -05:00
parent 7fbaad97a1
commit c0c6ad5af4
2 changed files with 6 additions and 7 deletions
+4 -4
View File
@@ -150,7 +150,7 @@ const RelationshipView: React.FC<RelationshipProps> = ({ pfpUrl }) => {
<ThemedView style={styles.profileWrapper}>
<Image
source={{
uri: `${process.env.EXPO_PUBLIC_URL}` +
uri: `${process.env.EXPO_PUBLIC_API_URL}` +
`${status.partner.pfpUrl}`
}}
style={styles.profilePicture}
@@ -185,7 +185,7 @@ const RelationshipView: React.FC<RelationshipProps> = ({ pfpUrl }) => {
<ThemedView style={styles.profileWrapper}>
<Image
source={{
uri: `${process.env.EXPO_PUBLIC_URL}` +
uri: `${process.env.EXPO_PUBLIC_API_URL}` +
`${status.partner.pfpUrl}`
}}
style={styles.profilePicture}
@@ -221,7 +221,7 @@ const RelationshipView: React.FC<RelationshipProps> = ({ pfpUrl }) => {
{user && (
<ThemedView style={styles.profileWrapper}>
<Image
source={{ uri: `${process.env.EXPO_PUBLIC_URL}${user.pfpUrl}` }}
source={{ uri: `${process.env.EXPO_PUBLIC_API_URL}${user.pfpUrl}` }}
style={styles.profilePicture}
/>
<ThemedText style={styles.name}>
@@ -232,7 +232,7 @@ const RelationshipView: React.FC<RelationshipProps> = ({ pfpUrl }) => {
{status.partner && (
<ThemedView style={styles.profileWrapper}>
<Image
source={{ uri: `${process.env.EXPO_PUBLIC_URL}` +
source={{ uri: `${process.env.EXPO_PUBLIC_API_URL}` +
`${status.partner.pfpUrl}` }}
style={styles.profilePicture}
/>