⚡️⚡️⚡️ 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
feat: update header styles for improved iOS compatibility
daniel31x1304ea3bde8f80
diff --git a/apps/mobile/app/(tabs)/collections/_layout.tsx b/apps/mobile/app/(tabs)/collections/_layout.tsxindex c7e60df4..9e5af78c 100644--- a/apps/mobile/app/(tabs)/collections/_layout.tsx+++ b/apps/mobile/app/(tabs)/collections/_layout.tsx@@ -12,11 +12,8 @@ export default function Layout() {screenOptions={{headerTitle: "Collections",headerLargeTitle: true,- headerTransparent: Platform.OS === "ios" ? true : false,+ headerTransparent: Platform.OS === "ios",headerShadowVisible: false,- headerBlurEffect:- colorScheme === "dark" ? "systemMaterialDark" : "systemMaterial",- headerTintColor: colorScheme === "dark" ? "white" : "black",headerSearchBarOptions: {placeholder: "Search Collections",autoCapitalize: "none",@@ -28,7 +25,10 @@ export default function Layout() {headerIconColor: colorScheme === "dark" ? "white" : "black",},headerLargeStyle: {- backgroundColor: rawTheme[colorScheme as ThemeName]["base-100"],+ backgroundColor:+ Platform.OS === "ios"+ ? "transparent"+ : rawTheme[colorScheme as ThemeName]["base-100"],},headerStyle: {backgroundColor:diff --git a/apps/mobile/app/(tabs)/dashboard/_layout.tsx b/apps/mobile/app/(tabs)/dashboard/_layout.tsxindex c129eafc..afcb8064 100644--- a/apps/mobile/app/(tabs)/dashboard/_layout.tsx+++ b/apps/mobile/app/(tabs)/dashboard/_layout.tsx@@ -2,7 +2,7 @@ import { rawTheme, ThemeName } from "@/lib/colors";import { Stack, useRouter } from "expo-router";import { Plus } from "lucide-react-native";import { useColorScheme } from "nativewind";-import { Platform, TouchableOpacity } from "react-native";+import { Platform, TouchableOpacity, View } from "react-native";import { SheetManager } from "react-native-actions-sheet";import * as DropdownMenu from "zeego/dropdown-menu";@@ -14,21 +14,21 @@ export default function Layout() {<StackscreenOptions={{headerLargeTitle: true,- headerTransparent: Platform.OS === "ios" ? true : false,+ headerTransparent: Platform.OS === "ios",headerShadowVisible: false,- headerBlurEffect:- colorScheme === "dark" ? "systemMaterialDark" : "systemMaterial",- headerTintColor: colorScheme === "dark" ? "white" : "black",headerLargeStyle: {- backgroundColor: rawTheme[colorScheme as ThemeName]["base-100"],+ backgroundColor:+ Platform.OS === "ios"+ ? "transparent"+ : rawTheme[colorScheme as ThemeName]["base-100"],},headerStyle: {backgroundColor:Platform.OS === "ios"? "transparent": colorScheme === "dark"- ? rawTheme["dark"]["base-100"]- : "white",+ ? rawTheme["dark"]["base-100"]+ : "white",},}}>diff --git a/apps/mobile/app/(tabs)/links/_layout.tsx b/apps/mobile/app/(tabs)/links/_layout.tsxindex 4fb7a8f7..9bb457e6 100644--- a/apps/mobile/app/(tabs)/links/_layout.tsx+++ b/apps/mobile/app/(tabs)/links/_layout.tsx@@ -12,11 +12,8 @@ export default function Layout() {screenOptions={{headerTitle: "Links",headerLargeTitle: true,- headerTransparent: Platform.OS === "ios" ? true : false,+ headerTransparent: Platform.OS === "ios",headerShadowVisible: false,- headerBlurEffect:- colorScheme === "dark" ? "systemMaterialDark" : "systemMaterial",- headerTintColor: colorScheme === "dark" ? "white" : "black",headerSearchBarOptions: {placeholder: "Search Links",autoCapitalize: "none",@@ -28,7 +25,10 @@ export default function Layout() {headerIconColor: colorScheme === "dark" ? "white" : "black",},headerLargeStyle: {- backgroundColor: rawTheme[colorScheme as ThemeName]["base-100"],+ backgroundColor:+ Platform.OS === "ios"+ ? "transparent"+ : rawTheme[colorScheme as ThemeName]["base-100"],},headerStyle: {backgroundColor:diff --git a/apps/mobile/app/(tabs)/settings/_layout.tsx b/apps/mobile/app/(tabs)/settings/_layout.tsxindex b0115dfe..cd8aafa9 100644--- a/apps/mobile/app/(tabs)/settings/_layout.tsx+++ b/apps/mobile/app/(tabs)/settings/_layout.tsx@@ -11,13 +11,13 @@ export default function Layout() {screenOptions={{headerTitle: "Settings",headerLargeTitle: true,- headerTransparent: Platform.OS === "ios" ? true : false,+ headerTransparent: Platform.OS === "ios",headerShadowVisible: false,- headerBlurEffect:- colorScheme === "dark" ? "systemMaterialDark" : "systemMaterial",- headerTintColor: colorScheme === "dark" ? "white" : "black",headerLargeStyle: {- backgroundColor: rawTheme[colorScheme as ThemeName]["base-100"],+ backgroundColor:+ Platform.OS === "ios"+ ? "transparent"+ : rawTheme[colorScheme as ThemeName]["base-100"],},headerBackTitle: "Back",headerStyle: {diff --git a/apps/mobile/app/(tabs)/tags/_layout.tsx b/apps/mobile/app/(tabs)/tags/_layout.tsxindex 42c988cb..c7aced0e 100644--- a/apps/mobile/app/(tabs)/tags/_layout.tsx+++ b/apps/mobile/app/(tabs)/tags/_layout.tsx@@ -12,11 +12,8 @@ export default function Layout() {screenOptions={{headerTitle: "Tags",headerLargeTitle: true,- headerTransparent: Platform.OS === "ios" ? true : false,+ headerTransparent: Platform.OS === "ios",headerShadowVisible: false,- headerBlurEffect:- colorScheme === "dark" ? "systemMaterialDark" : "systemMaterial",- headerTintColor: colorScheme === "dark" ? "white" : "black",headerSearchBarOptions: {placeholder: "Search Tags",autoCapitalize: "none",@@ -28,7 +25,10 @@ export default function Layout() {headerIconColor: colorScheme === "dark" ? "white" : "black",},headerLargeStyle: {- backgroundColor: rawTheme[colorScheme as ThemeName]["base-100"],+ backgroundColor:+ Platform.OS === "ios"+ ? "transparent"+ : rawTheme[colorScheme as ThemeName]["base-100"],},headerStyle: {backgroundColor: