Fix nested button in tvOS (#848)
This commit is contained in:
parent
34cd289106
commit
984134f4b6
|
@ -80,9 +80,6 @@ struct ServerListView: View {
|
||||||
.aspectRatio(contentMode: .fit)
|
.aspectRatio(contentMode: .fit)
|
||||||
.frame(maxWidth: 400)
|
.frame(maxWidth: 400)
|
||||||
|
|
||||||
Button {
|
|
||||||
router.route(to: \.connectToServer)
|
|
||||||
} label: {
|
|
||||||
Button {
|
Button {
|
||||||
router.route(to: \.connectToServer)
|
router.route(to: \.connectToServer)
|
||||||
} label: {
|
} label: {
|
||||||
|
@ -95,7 +92,6 @@ struct ServerListView: View {
|
||||||
.buttonStyle(.card)
|
.buttonStyle(.card)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
.contentView {}
|
.contentView {}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue