mirror of
https://github.com/linkwarden/linkwarden.git
synced 2026-04-18 12:09:44 +00:00
fix: add integratedButton placement for iOS 26+ compatibility in search inputs
This commit is contained in:
@@ -39,6 +39,7 @@ export default function LinksScreen() {
|
||||
placeholder: `Search ${activeCollection.name}`,
|
||||
...(isIOS26Plus && {
|
||||
allowToolbarIntegration: false,
|
||||
placement: "integratedButton",
|
||||
}),
|
||||
},
|
||||
});
|
||||
|
||||
@@ -21,6 +21,7 @@ export default function Layout() {
|
||||
autoCapitalize: "none",
|
||||
...(isIOS26Plus && {
|
||||
allowToolbarIntegration: false,
|
||||
placement: "integratedButton",
|
||||
}),
|
||||
onChangeText: (e) => {
|
||||
router.setParams({
|
||||
|
||||
@@ -39,6 +39,7 @@ export default function LinksScreen() {
|
||||
placeholder: `Search ${title}`,
|
||||
...(isIOS26Plus && {
|
||||
allowToolbarIntegration: false,
|
||||
placement: "integratedButton",
|
||||
}),
|
||||
},
|
||||
});
|
||||
|
||||
@@ -81,6 +81,7 @@ export default function Layout() {
|
||||
autoCapitalize: "none",
|
||||
...(isIOS26Plus && {
|
||||
allowToolbarIntegration: false,
|
||||
placement: "integratedButton",
|
||||
}),
|
||||
headerIconColor: colorScheme === "dark" ? "white" : "black",
|
||||
onChangeText: (e) => {
|
||||
|
||||
@@ -21,6 +21,7 @@ export default function Layout() {
|
||||
autoCapitalize: "none",
|
||||
...(isIOS26Plus && {
|
||||
allowToolbarIntegration: false,
|
||||
placement: "integratedButton",
|
||||
}),
|
||||
onChangeText: (e) => {
|
||||
router.setParams({
|
||||
|
||||
@@ -60,6 +60,7 @@ export default function Layout() {
|
||||
autoCapitalize: "none",
|
||||
...(isIOS26Plus && {
|
||||
allowToolbarIntegration: false,
|
||||
placement: "integratedButton",
|
||||
}),
|
||||
onChangeText: (e) => {
|
||||
router.setParams({
|
||||
|
||||
@@ -37,6 +37,7 @@ export default function LinksScreen() {
|
||||
placeholder: `Search ${activeTag.name}`,
|
||||
...(isIOS26Plus && {
|
||||
allowToolbarIntegration: false,
|
||||
placement: "integratedButton",
|
||||
}),
|
||||
},
|
||||
});
|
||||
|
||||
@@ -20,6 +20,7 @@ export default function Layout() {
|
||||
autoCapitalize: "none",
|
||||
...(isIOS26Plus && {
|
||||
allowToolbarIntegration: false,
|
||||
placement: "integratedButton",
|
||||
}),
|
||||
onChangeText: (e) => {
|
||||
router.setParams({
|
||||
|
||||
Reference in New Issue
Block a user