Fix form on tvOS

This commit is contained in:
世界
2025-12-06 19:37:21 +08:00
parent 5c7df0d608
commit f1fa3cbbdf
3 changed files with 48 additions and 21 deletions
@@ -99,6 +99,13 @@ public struct ConnectionView: View {
.background {
NavigationLink(isActive: $showDetails) {
ConnectionDetailsView(connection)
#if os(tvOS)
.toolbar {
ToolbarItemGroup(placement: .topBarLeading) {
BackButton()
}
}
#endif
} label: {
EmptyView()
}