Skip to content

⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.

fix(mobile): bug fixed

daniel31x13c5bfd2083382
diff --git a/apps/mobile/app/(tabs)/dashboard/_layout.tsx b/apps/mobile/app/(tabs)/dashboard/_layout.tsx
index 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.tsx
index 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.tsx
index 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.tsx
index 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-client
import { 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() {
<Stack
screenOptions={{
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.tsx
index 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}
gestureEnabled
containerStyle={{
- backgroundColor: rawTheme[colorScheme as ThemeName]["base-100"],
+ backgroundColor: rawTheme[colorScheme as ThemeName]["base-200"],
}}
>
<View className="px-8 py-5">
<Input
placeholder="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.tsx
index 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">
<Input
placeholder="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 && (
<Input
placeholder="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">) => {
<Input
multiline
+ 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]">
<Input
placeholder="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.tsx
index 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",