瀏覽代碼

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