Procházet zdrojové kódy

profile map cache control

Viktoriia před 1 rokem
rodič
revize
8aa2a870a8
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  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
           <Image
             source={{
             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}
             style={styles.usersMap}
           />
           />