⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.
TypeScript bookmarkbookmark-managercollaborationnextjsreact-nativeread-it-laterself-hostedtypescript
fix(mobile): bug fixed
daniel31x13c5bfd2083382
diff --git a/apps/mobile/app/(tabs)/dashboard/_layout.tsx b/apps/mobile/app/(tabs)/dashboard/_layout.tsxindex 7a6deb19..63a074a6 100644--- a/apps/mobile/app/(tabs)/dashboard/_layout.tsx+++ b/apps/mobile/app/(tabs)/dashboard/_layout.tsx@@ -22,7 +22,6 @@ export default function RootLayout() {headerLargeStyle: {backgroundColor: rawTheme[colorScheme as ThemeName]["base-100"],},- navigationBarColor: rawTheme[colorScheme as ThemeName]["base-200"],headerStyle: {backgroundColor:Platform.OS === "ios"diff --git a/apps/mobile/app/(tabs)/links/_layout.tsx b/apps/mobile/app/(tabs)/links/_layout.tsxindex 3ef50d05..aaf48bb4 100644--- a/apps/mobile/app/(tabs)/links/_layout.tsx+++ b/apps/mobile/app/(tabs)/links/_layout.tsx@@ -30,7 +30,6 @@ export default function RootLayout() {headerLargeStyle: {backgroundColor: rawTheme[colorScheme as ThemeName]["base-100"],},- navigationBarColor: rawTheme[colorScheme as ThemeName]["base-200"],headerStyle: {backgroundColor:Platform.OS === "ios"diff --git a/apps/mobile/app/(tabs)/settings/_layout.tsx b/apps/mobile/app/(tabs)/settings/_layout.tsxindex a69aa183..fef1f05a 100644--- a/apps/mobile/app/(tabs)/settings/_layout.tsx+++ b/apps/mobile/app/(tabs)/settings/_layout.tsx@@ -19,7 +19,6 @@ export default function RootLayout() {headerLargeStyle: {backgroundColor: rawTheme[colorScheme as ThemeName]["base-100"],},- navigationBarColor: rawTheme[colorScheme as ThemeName]["base-200"],headerStyle: {backgroundColor:Platform.OS === "ios"diff --git a/apps/mobile/app/_layout.tsx b/apps/mobile/app/_layout.tsxindex 45b3496d..cdc635c0 100644--- a/apps/mobile/app/_layout.tsx+++ b/apps/mobile/app/_layout.tsx@@ -4,7 +4,7 @@ import { PersistQueryClientProvider } from "@tanstack/react-query-persist-clientimport { mmkvPersister } from "@/lib/queryPersister";import { useState } from "react";import "../styles/global.css";-import { SheetProvider } from "react-native-actions-sheet";+import { SheetManager, SheetProvider } from "react-native-actions-sheet";import "@/components/ActionSheets/Sheets";import { useColorScheme } from "nativewind";import { lightTheme, darkTheme } from "../lib/theme";@@ -44,7 +44,7 @@ export default function RootLayout() {<StackscreenOptions={{navigationBarColor:- rawTheme[colorScheme as ThemeName]["base-100"],+ rawTheme[colorScheme as ThemeName]["base-200"],headerShown: false,contentStyle: {backgroundColor:diff --git a/apps/mobile/components/ActionSheets/AddLinkSheet.tsx b/apps/mobile/components/ActionSheets/AddLinkSheet.tsxindex 78a9eca4..04571245 100644--- a/apps/mobile/components/ActionSheets/AddLinkSheet.tsx+++ b/apps/mobile/components/ActionSheets/AddLinkSheet.tsx@@ -20,13 +20,13 @@ export default function AddLinkSheet() {ref={actionSheetRef}gestureEnabledcontainerStyle={{- backgroundColor: rawTheme[colorScheme as ThemeName]["base-100"],+ backgroundColor: rawTheme[colorScheme as ThemeName]["base-200"],}}><View className="px-8 py-5"><Inputplaceholder="e.g. https://example.com"- className="mb-4"+ className="mb-4 bg-base-100"value={link}onChangeText={setLink}/>diff --git a/apps/mobile/components/ActionSheets/EditLinkSheet.tsx b/apps/mobile/components/ActionSheets/EditLinkSheet.tsxindex b18613b5..ebd9a30e 100644--- a/apps/mobile/components/ActionSheets/EditLinkSheet.tsx+++ b/apps/mobile/components/ActionSheets/EditLinkSheet.tsx@@ -43,7 +43,7 @@ const Main = (props: SheetProps<"edit-link-sheet">) => {<View className="px-8 py-5"><Inputplaceholder="Name"- className="mb-4"+ className="mb-4 bg-base-100"value={link?.name || ""}onChangeText={(text) => link?.id && setLink({ ...link, name: text })}/>@@ -51,7 +51,7 @@ const Main = (props: SheetProps<"edit-link-sheet">) => {{props.payload?.link?.url && (<Inputplaceholder="URL"- className="mb-4"+ className="mb-4 bg-base-100"value={link?.url || ""}onChangeText={(text) => link?.id && setLink({ ...link, url: text })}/>@@ -98,8 +98,9 @@ const Main = (props: SheetProps<"edit-link-sheet">) => {<Inputmultiline+ textAlignVertical="top"placeholder="Description"- className="mb-4 h-28"+ className="mb-4 h-28 bg-base-100"value={link?.description || ""}onChangeText={(text) =>link?.id && setLink({ ...link, description: text })@@ -207,7 +208,7 @@ const Collections = () => {<View className="px-8 py-5 max-h-[80vh]"><Inputplaceholder="Search collections"- className="mb-4"+ className="mb-4 bg-base-100"value={searchQuery}onChangeText={setSearchQuery}/>@@ -251,7 +252,7 @@ export default function EditLinkSheet() {routes={routes}initialRoute="main"containerStyle={{- backgroundColor: rawTheme[colorScheme as ThemeName]["base-100"],+ backgroundColor: rawTheme[colorScheme as ThemeName]["base-200"],}}/>);diff --git a/apps/mobile/components/ui/Button.tsx b/apps/mobile/components/ui/Button.tsxindex 89929326..929263e9 100644--- a/apps/mobile/components/ui/Button.tsx+++ b/apps/mobile/components/ui/Button.tsx@@ -21,7 +21,7 @@ const buttonVariants = cva(outline: "border border-base-content",secondary: "bg-secondary text-secondary-foreground",input:- "bg-base-200 rounded-lg px-4 justify-between flex-row font-normal",+ "bg-base-100 rounded-lg px-4 justify-between flex-row font-normal",metal: "bg-neutral-content text-base-content border border-neutral/30",ghost: "",simple: "bg-base-200",