Skip to content

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

fix: conditionally apply headerBackground for iOS 26 and above

daniel31x13c81d452996fc
diff --git a/apps/mobile/app/(tabs)/settings/_layout.tsx b/apps/mobile/app/(tabs)/settings/_layout.tsx
index 96fc0d20..32c0b4c8 100644
--- a/apps/mobile/app/(tabs)/settings/_layout.tsx
+++ b/apps/mobile/app/(tabs)/settings/_layout.tsx
@@ -50,14 +50,18 @@ export default function Layout() {
headerTransparent: Platform.OS === "ios",
headerBlurEffect:
colorScheme === "dark" ? "systemMaterialDark" : "systemMaterial",
- headerBackground: () => (
- <View
- style={{
- flex: 1,
- backgroundColor: themeBackgroundColor,
- }}
- />
- ),
+ ...(isIOS26Plus
+ ? {
+ headerBackground: () => (
+ <View
+ style={{
+ flex: 1,
+ backgroundColor: themeBackgroundColor,
+ }}
+ />
+ ),
+ }
+ : {}),
headerSearchBarOptions: {
placeholder: "Search Collections",
autoCapitalize: "none",