Преглед на файлове

profile map cache control

Viktoriia преди 21 часа
родител
ревизия
8aa2a870a8
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  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}
           />