Fix form on tvOS

This commit is contained in:
世界 committed 2025-12-06 19:37:21 +08:00
1 parent 5c7df0d608
commit f1fa3cbbdf
3 files changed
+48 -21

No files matched your search

@@ -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()
}