added scroll on items and pets
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
export const NAV_ITEMS = [
|
||||
{ icon: "grid", key: "home", labelKey: "nav.home" },
|
||||
{ icon: "chat", key: "chat", labelKey: "nav.chat" },
|
||||
{ icon: "box", key: "items", labelKey: "nav.items" },
|
||||
{ icon: "paw", key: "pets", labelKey: "nav.pets" },
|
||||
{ icon: "file", key: "myads", labelKey: "nav.myAds" },
|
||||
{ icon: "chat", key: "chat", labelKey: "nav.chat" },
|
||||
{ icon: "plus", key: "create", labelKey: "nav.create" },
|
||||
];
|
||||
|
||||
|
||||
@@ -470,7 +470,7 @@ export default function MainFeed() {
|
||||
<PullToRefresh
|
||||
containerRef={feedRef}
|
||||
onRefresh={refreshCurrentList}
|
||||
disabled={isMapView || isSearchView || (activeNav !== "home" && activeNav !== "myads")}
|
||||
disabled={isMapView || isSearchView || !["home", "items", "pets", "myads"].includes(activeNav)}
|
||||
/>
|
||||
<FeedContent
|
||||
loading={listLoading}
|
||||
|
||||
Reference in New Issue
Block a user