Skip to content

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

small fix

daniel31x13e1ce7be0a275
diff --git a/apps/mobile/app/(tabs)/collections/[id].tsx b/apps/mobile/app/(tabs)/collections/[id].tsx
index 7536cd6d..5077abe4 100644
--- a/apps/mobile/app/(tabs)/collections/[id].tsx
+++ b/apps/mobile/app/(tabs)/collections/[id].tsx
@@ -25,6 +25,7 @@ export default function LinksScreen() {
const collections = useCollections(auth);
const navigation = useNavigation();
+ const isIOS26Plus = Platform.OS === "ios" && Number(Platform.Version) >= 26;
useEffect(() => {
const activeCollection = collections.data?.filter(
@@ -36,6 +37,9 @@ export default function LinksScreen() {
headerTitle: activeCollection?.name,
headerSearchBarOptions: {
placeholder: `Search ${activeCollection.name}`,
+ ...(isIOS26Plus && {
+ allowToolbarIntegration: false,
+ }),
},
});
}, [navigation]);
diff --git a/apps/mobile/app/(tabs)/dashboard/[section].tsx b/apps/mobile/app/(tabs)/dashboard/[section].tsx
index 22cdfb3b..b5d12746 100644
--- a/apps/mobile/app/(tabs)/dashboard/[section].tsx
+++ b/apps/mobile/app/(tabs)/dashboard/[section].tsx
@@ -16,6 +16,7 @@ export default function LinksScreen() {
const navigation = useNavigation();
const collections = useCollections(auth);
+ const isIOS26Plus = Platform.OS === "ios" && Number(Platform.Version) >= 26;
const title = useMemo(() => {
if (section === "pinned-links") return "Pinned Links";
@@ -36,6 +37,9 @@ export default function LinksScreen() {
headerTitle: title,
headerSearchBarOptions: {
placeholder: `Search ${title}`,
+ ...(isIOS26Plus && {
+ allowToolbarIntegration: false,
+ }),
},
});
}, [title, navigation]);
diff --git a/apps/mobile/app/(tabs)/settings/_layout.tsx b/apps/mobile/app/(tabs)/settings/_layout.tsx
index 355f9206..19269a32 100644
--- a/apps/mobile/app/(tabs)/settings/_layout.tsx
+++ b/apps/mobile/app/(tabs)/settings/_layout.tsx
@@ -6,9 +6,8 @@ import { Platform, View } from "react-native";
export default function Layout() {
const { colorScheme } = useColorScheme();
const router = useRouter();
+ const isIOS26Plus = Platform.OS === "ios" && Number(Platform.Version) >= 26;
- const isIOS26Plus =
- Platform.OS === "ios" && parseInt(Platform.Version as string, 10) >= 26;
const themeBackgroundColor = rawTheme[colorScheme as ThemeName]["base-100"];
return (
diff --git a/apps/mobile/app/(tabs)/tags/[id].tsx b/apps/mobile/app/(tabs)/tags/[id].tsx
index 68e7c4ca..73f6c630 100644
--- a/apps/mobile/app/(tabs)/tags/[id].tsx
+++ b/apps/mobile/app/(tabs)/tags/[id].tsx
@@ -25,6 +25,7 @@ export default function LinksScreen() {
const tags = useTags(auth);
const navigation = useNavigation();
+ const isIOS26Plus = Platform.OS === "ios" && Number(Platform.Version) >= 26;
useEffect(() => {
const activeTag = tags.data?.filter((e) => e.id === Number(id))[0];
@@ -34,6 +35,9 @@ export default function LinksScreen() {
headerTitle: activeTag?.name,
headerSearchBarOptions: {
placeholder: `Search ${activeTag.name}`,
+ ...(isIOS26Plus && {
+ allowToolbarIntegration: false,
+ }),
},
});
}, [navigation]);
diff --git a/apps/mobile/app/(tabs)/tags/_layout.tsx b/apps/mobile/app/(tabs)/tags/_layout.tsx
index 6f60489f..0c3cd034 100644
--- a/apps/mobile/app/(tabs)/tags/_layout.tsx
+++ b/apps/mobile/app/(tabs)/tags/_layout.tsx
@@ -6,7 +6,6 @@ import { Platform } from "react-native";
export default function Layout() {
const router = useRouter();
const { colorScheme } = useColorScheme();
-
const isIOS26Plus = Platform.OS === "ios" && Number(Platform.Version) >= 26;
return (