⚡️⚡️⚡️ 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: update header background color for iOS 26+ compatibility across multiple layouts
daniel31x1381bb6f6d923a
diff --git a/apps/mobile/app/(tabs)/collections/_layout.tsx b/apps/mobile/app/(tabs)/collections/_layout.tsxindex 6a727183..2b09d195 100644--- a/apps/mobile/app/(tabs)/collections/_layout.tsx+++ b/apps/mobile/app/(tabs)/collections/_layout.tsx@@ -33,7 +33,9 @@ export default function Layout() {headerBlurEffect:colorScheme === "dark" ? "systemMaterialDark" : "systemMaterial",headerLargeStyle: {- backgroundColor: rawTheme[colorScheme as ThemeName]["base-100"],+ backgroundColor: isIOS26Plus+ ? "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 2a67bc2f..8520d6c3 100644--- a/apps/mobile/app/(tabs)/dashboard/_layout.tsx+++ b/apps/mobile/app/(tabs)/dashboard/_layout.tsx@@ -22,7 +22,9 @@ export default function Layout() {colorScheme === "dark" ? "systemMaterialDark" : "systemMaterial",headerTintColor: colorScheme === "dark" ? "white" : "black",headerLargeStyle: {- backgroundColor: rawTheme[colorScheme as ThemeName]["base-100"],+ backgroundColor: isIOS26Plus+ ? "transparent"+ : rawTheme[colorScheme as ThemeName]["base-100"],},headerStyle: {backgroundColor:diff --git a/apps/mobile/app/(tabs)/links/_layout.tsx b/apps/mobile/app/(tabs)/links/_layout.tsxindex 41518216..0fc3b794 100644--- a/apps/mobile/app/(tabs)/links/_layout.tsx+++ b/apps/mobile/app/(tabs)/links/_layout.tsx@@ -33,7 +33,9 @@ export default function Layout() {headerBlurEffect:colorScheme === "dark" ? "systemMaterialDark" : "systemMaterial",headerLargeStyle: {- backgroundColor: rawTheme[colorScheme as ThemeName]["base-100"],+ backgroundColor: isIOS26Plus+ ? "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 19269a32..d697c521 100644--- a/apps/mobile/app/(tabs)/settings/_layout.tsx+++ b/apps/mobile/app/(tabs)/settings/_layout.tsx@@ -21,7 +21,9 @@ export default function Layout() {headerBlurEffect:colorScheme === "dark" ? "systemMaterialDark" : "systemMaterial",headerLargeStyle: {- backgroundColor: rawTheme[colorScheme as ThemeName]["base-100"],+ backgroundColor: isIOS26Plus+ ? "transparent"+ : rawTheme[colorScheme as ThemeName]["base-100"],},headerStyle: {backgroundColor:diff --git a/apps/mobile/app/_layout.tsx b/apps/mobile/app/_layout.tsxindex 15187131..01e71b7c 100644--- a/apps/mobile/app/_layout.tsx+++ b/apps/mobile/app/_layout.tsx@@ -39,6 +39,7 @@ import { deleteLinkCache } from "@/lib/cache";import { queryClient } from "@/lib/queryClient";import getOriginalFormat from "@linkwarden/lib/getOriginalFormat";import { StatusBar } from "expo-status-bar";+import { cn } from "@linkwarden/lib/utils";export default function RootLayout() {const [isLoading, setIsLoading] = useState(true);@@ -125,6 +126,8 @@ const RootComponent = ({const { tmp } = useTmpStore();+ const isIOS26Plus = Platform.OS === "ios" && Number(Platform.Version) >= 26;+return (<KeyboardProvider><View@@ -160,7 +163,9 @@ const RootComponent = ({: "white",},headerRight: () => (- <View className="flex-row gap-5">+ <View+ className={cn("flex-row gap-5", isIOS26Plus && "px-2")}+ ><TouchableOpacityonPress={() => {if (tmp.link) {