Fix nested button in tvOS (#848)
This commit is contained in:
parent
34cd289106
commit
984134f4b6
|
@ -83,17 +83,13 @@ struct ServerListView: View {
|
||||||
Button {
|
Button {
|
||||||
router.route(to: \.connectToServer)
|
router.route(to: \.connectToServer)
|
||||||
} label: {
|
} label: {
|
||||||
Button {
|
L10n.connect.text
|
||||||
router.route(to: \.connectToServer)
|
.bold()
|
||||||
} label: {
|
.font(.callout)
|
||||||
L10n.connect.text
|
.frame(width: 400, height: 75)
|
||||||
.bold()
|
.background(Color.jellyfinPurple)
|
||||||
.font(.callout)
|
|
||||||
.frame(width: 400, height: 75)
|
|
||||||
.background(Color.jellyfinPurple)
|
|
||||||
}
|
|
||||||
.buttonStyle(.card)
|
|
||||||
}
|
}
|
||||||
|
.buttonStyle(.card)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.contentView {}
|
.contentView {}
|
||||||
|
|
Loading…
Reference in New Issue