mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +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) {
|
||||
// Reserve the space trailing space to match the back button.
|
||||
CompoundIcon(\.search).hidden()
|
||||
if #available(iOS 26, *) {
|
||||
ToolbarSpacer()
|
||||
} else {
|
||||
ToolbarItem(placement: .primaryAction) {
|
||||
// Reserve the space trailing space to match the back button.
|
||||
CompoundIcon(\.search).hidden()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user