Browse Source

profile map cache control

Viktoriia 21 hours ago
parent
commit
8aa2a870a8
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/screens/InAppScreens/ProfileScreen/index.tsx

+ 2 - 1
src/screens/InAppScreens/ProfileScreen/index.tsx

@@ -252,7 +252,8 @@ const ProfileScreen: FC<Props> = ({ navigation, route }) => {
         >
           <Image
             source={{
-              uri: `${API_HOST}/img/single_maps/${isPublicView ? route.params?.userId : currentUserId}.png`
+              uri: `${API_HOST}/img/single_maps/${isPublicView ? route.params?.userId : currentUserId}.png`,
+              cache: 'reload'
             }}
             style={styles.usersMap}
           />