A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search
fix(mobile): Add a bigger button to collable the nested list
MohamedBassem5f599f29e1ae
diff --git a/apps/mobile/app/dashboard/(tabs)/lists.tsx b/apps/mobile/app/dashboard/(tabs)/lists.tsxindex 7099c09f..9e4b0929 100644--- a/apps/mobile/app/dashboard/(tabs)/lists.tsx+++ b/apps/mobile/app/dashboard/(tabs)/lists.tsx@@ -5,7 +5,7 @@ import { TailwindResolver } from "@/components/TailwindResolver";import CustomSafeAreaView from "@/components/ui/CustomSafeAreaView";import PageTitle from "@/components/ui/PageTitle";import { api } from "@/lib/trpc";-import { ChevronRight, Triangle } from "lucide-react-native";+import { ChevronRight } from "lucide-react-native";import { useBookmarkLists } from "@hoarder/shared-react/hooks/lists";import { ZBookmarkListTreeNode } from "@hoarder/shared/utils/listUtils";@@ -102,11 +102,12 @@ export default function Lists() {}}renderItem={(l) => (<View- className="mx-2 flex flex-row items-center gap-x-2 rounded-xl border border-input bg-white px-4 py-2 dark:bg-accent"+ className="mx-2 flex flex-row items-center rounded-xl border border-input bg-white px-4 py-2 dark:bg-accent"style={{ marginLeft: l.item.level * 20 }}>{l.item.numChildren > 0 && (<Pressable+ className="pr-2"onPress={() => {setShowChildrenOf((prev) => ({...prev,@@ -117,13 +118,11 @@ export default function Lists() {<TailwindResolverclassName="text-foreground"comp={(style) => (- <Triangle- size={10}+ <ChevronRightcolor={style?.color?.toString()}- fill={style?.color?.toString()}style={{transform: [- { rotate: l.item.collapsed ? "90deg" : "180deg" },+ { rotate: l.item.collapsed ? "0deg" : "90deg" },],}}/>