소스 검색

small fix for nomads switch

Viktoriia 1 개월 전
부모
커밋
569c24d222
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      src/screens/InAppScreens/MapScreen/FilterModal/index.tsx

+ 1 - 2
src/screens/InAppScreens/MapScreen/FilterModal/index.tsx

@@ -598,9 +598,8 @@ const FilterModal = ({
 
   const toggleNomadsSwitch = () => {
     if (!showNomads) {
-      setSelectedCountries([]);
-      setTrustedVisible(false);
       setFriendsVisible(false);
+      setSelectedCountries([]);
     }
     setShowNomads && setShowNomads(!showNomads);
     storage.set('showNomads', !showNomads);