Group iPad detail header controls

This commit is contained in:
Julius Marminge committed 2026-06-30 07:57:44 -07:00
1 parent a930a44212
commit 3158e1dc12
1 file changed
-6
@@ -646,9 +646,7 @@ function ThreadRouteContent(
icon: { name: "chevron.left", type: "sfSymbol" as const },
identifier: "thread-left-return",
onPress: props.onReturnToThread,
sharesBackground: false,
type: "button" as const,
width: 58,
}),
]
: []),
@@ -662,18 +660,14 @@ function ThreadRouteContent(
},
identifier: "thread-left-sidebar",
onPress: togglePrimarySidebar,
sharesBackground: false,
type: "button" as const,
width: 58,
}),
withNativeGlassHeaderItem({
accessibilityLabel: "New task",
icon: { name: "square.and.pencil", type: "sfSymbol" as const },
identifier: "thread-left-new-task",
onPress: () => router.push("/new"),
sharesBackground: false,
type: "button" as const,
width: 58,
}),
],
[panes.primarySidebarVisible, props.onReturnToThread, router, togglePrimarySidebar],