Skip to content

A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search

feat(mobile): add SF Symbol icons to native menus

Claudeb58fc6c93659
diff --git a/apps/mobile/app/dashboard/lists/[slug]/index.tsx b/apps/mobile/app/dashboard/lists/[slug]/index.tsx
index 5df22f5e..01fbfe9c 100644
--- a/apps/mobile/app/dashboard/lists/[slug]/index.tsx
+++ b/apps/mobile/app/dashboard/lists/[slug]/index.tsx
@@ -118,6 +118,9 @@ function ListActionsMenu({
attributes: {
hidden: role !== "owner",
},
+ image: Platform.select({
+ ios: "pencil",
+ }),
},
{
id: "delete",
@@ -137,6 +140,9 @@ function ListActionsMenu({
destructive: true,
hidden: role === "owner",
},
+ image: Platform.select({
+ ios: "rectangle.portrait.and.arrow.right",
+ }),
},
]}
onPressAction={({ nativeEvent }) => {
diff --git a/apps/mobile/components/bookmarks/BookmarkLinkTypeSelector.tsx b/apps/mobile/components/bookmarks/BookmarkLinkTypeSelector.tsx
index 5c9955bd..259e53c5 100644
--- a/apps/mobile/components/bookmarks/BookmarkLinkTypeSelector.tsx
+++ b/apps/mobile/components/bookmarks/BookmarkLinkTypeSelector.tsx
@@ -1,3 +1,4 @@
+import { Platform } from "react-native";
import * as Haptics from "expo-haptics";
import { MenuView } from "@react-native-menu/menu";
import { ChevronDown } from "lucide-react-native";
@@ -56,26 +57,41 @@ export default function BookmarkLinkTypeSelector({
id: "reader" as const,
title: "Reader View",
state: type === "reader" ? ("on" as const) : undefined,
+ image: Platform.select({
+ ios: "doc.plaintext",
+ }),
},
{
id: "browser" as const,
title: "Browser",
state: type === "browser" ? ("on" as const) : undefined,
+ image: Platform.select({
+ ios: "globe",
+ }),
},
{
id: "screenshot" as const,
title: "Screenshot",
state: type === "screenshot" ? ("on" as const) : undefined,
+ image: Platform.select({
+ ios: "camera.viewfinder",
+ }),
},
{
id: "archive" as const,
title: "Archived Page",
state: type === "archive" ? ("on" as const) : undefined,
+ image: Platform.select({
+ ios: "archivebox",
+ }),
},
{
id: "pdf" as const,
title: "PDF",
state: type === "pdf" ? ("on" as const) : undefined,
+ image: Platform.select({
+ ios: "doc.fill",
+ }),
},
];