fix for nav bar showing an empty button in the media timeline

This commit is contained in:
Mauro Romito
2025-09-29 15:02:54 +02:00
committed by Mauro
parent f8a175ff35
commit e04a937eed
@@ -223,11 +223,15 @@ struct MediaEventsTimelineScreen: View {
} }
} }
if #available(iOS 26, *) {
ToolbarSpacer()
} else {
ToolbarItem(placement: .primaryAction) { ToolbarItem(placement: .primaryAction) {
// Reserve the space trailing space to match the back button. // Reserve the space trailing space to match the back button.
CompoundIcon(\.search).hidden() CompoundIcon(\.search).hidden()
} }
} }
}
private var screenModePicker: some View { private var screenModePicker: some View {
Picker("", selection: $context.screenMode) { Picker("", selection: $context.screenMode) {