Browse Source

one more small fix

Viktoriia 11 months ago
parent
commit
fa71fea803
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/screens/InAppScreens/ProfileScreen/UsersMap/index.tsx

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

@@ -217,7 +217,7 @@ const UsersMapScreen: FC<Props> = ({ navigation, route }) => {
         minZoomLevel={0}
       >
         {renderMapTiles(tilesBaseURL, 1)}
-        {type !== 1 && renderMapTiles(gridUrl, 2)}
+        {type === 0 && renderMapTiles(gridUrl, 2)}
         {userId && renderMapTiles(visitedTiles, 2, 0.5)}
         {location && (
           <AnimatedMarker coordinate={location} anchor={{ x: 0.5, y: 0.5 }}>
@@ -303,6 +303,7 @@ const UsersMapScreen: FC<Props> = ({ navigation, route }) => {
         userId={userId}
         setVisitedTiles={setVisitedTiles}
         isPublicView={true}
+        isLogged={true}
       />
       <LocationPopup
         visible={askLocationVisible}