Fix nested button in tvOS (#848)

This commit is contained in:
charlie-ac 2023-09-18 14:57:25 -07:00 committed by GitHub
parent 34cd289106
commit 984134f4b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 10 deletions

View File

@ -80,9 +80,6 @@ struct ServerListView: View {
.aspectRatio(contentMode: .fit)
.frame(maxWidth: 400)
Button {
router.route(to: \.connectToServer)
} label: {
Button {
router.route(to: \.connectToServer)
} label: {
@ -95,7 +92,6 @@ struct ServerListView: View {
.buttonStyle(.card)
}
}
}
.contentView {}
}