浏览代码

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);