share modal

This commit is contained in:
2025-10-03 11:32:47 +02:00
parent d03cec164f
commit 8ea7f89c7b
12 changed files with 413 additions and 125 deletions
@@ -1,6 +1,6 @@
import { Image as ExpoImage } from "expo-image";
import React, { useState } from "react";
import { Pressable, ScrollView, Text, View } from "react-native";
import { Image as ExpoImage } from "expo-image";
import { img } from "../../../assets";
import MoreMenu from "../../../components/MoreMenu";
import { Routes } from "../../../navigation";
@@ -85,12 +85,12 @@ const SearchResultsList = ({
setShowMenu(
(previous) =>
!previous ||
positionTop?.top !== (menuPosition?.top ?? null),
positionTop?.top !== (menuPosition?.top ?? null)
);
}}
/>
))}
{(filteredProjects.length >= 6 || projectsLoading) && (
{/* {(filteredProjects.length >= 6 || projectsLoading) && (
<Pressable
onPress={loadMoreProjects}
style={{ alignSelf: "center", marginTop: 6 }}
@@ -106,7 +106,7 @@ const SearchResultsList = ({
{projectsLoading ? "Chargement…" : "Charger plus"}
</Text>
</Pressable>
)}
)} */}
</View>
)}
{filteredProjects.length === 0 && !projectsLoading && (
@@ -163,7 +163,7 @@ const SearchResultsList = ({
</Text>
</Pressable>
))}
{(filteredUsers.length >= 5 || usersLoading) && (
{/* {(filteredUsers.length >= 5 || usersLoading) && (
<Pressable
onPress={loadMoreUsers}
style={{ alignSelf: "center", marginTop: 6 }}
@@ -179,7 +179,7 @@ const SearchResultsList = ({
{usersLoading ? "Chargement…" : "Charger plus"}
</Text>
</Pressable>
)}
)} */}
</View>
)}
{filteredUsers.length === 0 && !usersLoading && (