mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-08-09 16:38:10 +00:00
fix(ios): label back navigation history
This commit is contained in:
parent
802a31fdf9
commit
edfcdde58a
1 changed files with 8 additions and 1 deletions
|
|
@ -711,9 +711,16 @@ private struct DetailDestinationView: View {
|
|||
NativeToolbarReadabilityFade()
|
||||
}
|
||||
}
|
||||
.navigationTitle(usesComposeNavigationHeader ? "" : wrapper.route.title ?? "")
|
||||
.navigationTitle(wrapper.route.title ?? "")
|
||||
.navigationBarTitleDisplayMode(.inline)
|
||||
.toolbarRole(usesComposeNavigationHeader ? .editor : .automatic)
|
||||
.toolbar {
|
||||
if usesComposeNavigationHeader {
|
||||
ToolbarItem(placement: .principal) {
|
||||
Color.clear.frame(width: 1, height: 1)
|
||||
}
|
||||
}
|
||||
}
|
||||
.toolbar(.hidden, for: .tabBar)
|
||||
.toolbar(
|
||||
wrapper.route.hidesNavigationBar ? Visibility.hidden : Visibility.visible,
|
||||
|
|
|
|||
Loading…
Reference in a new issue