mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
fix for nav bar showing an empty button in the media timeline
This commit is contained in:
+7
-3
@@ -223,9 +223,13 @@ struct MediaEventsTimelineScreen: View {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ToolbarItem(placement: .primaryAction) {
|
if #available(iOS 26, *) {
|
||||||
// Reserve the space trailing space to match the back button.
|
ToolbarSpacer()
|
||||||
CompoundIcon(\.search).hidden()
|
} else {
|
||||||
|
ToolbarItem(placement: .primaryAction) {
|
||||||
|
// Reserve the space trailing space to match the back button.
|
||||||
|
CompoundIcon(\.search).hidden()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user