浏览代码

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}
           />