Skip to content

Commit

Permalink
Fix nested button in tvOS (#848)
Browse files Browse the repository at this point in the history
  • Loading branch information
charlie-ac authored Sep 18, 2023
1 parent 34cd289 commit 984134f
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions Swiftfin tvOS/Views/ServerListView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -83,17 +83,13 @@ struct ServerListView: View {
Button {
router.route(to: \.connectToServer)
} label: {
Button {
router.route(to: \.connectToServer)
} label: {
L10n.connect.text
.bold()
.font(.callout)
.frame(width: 400, height: 75)
.background(Color.jellyfinPurple)
}
.buttonStyle(.card)
L10n.connect.text
.bold()
.font(.callout)
.frame(width: 400, height: 75)
.background(Color.jellyfinPurple)
}
.buttonStyle(.card)
}
}
.contentView {}
Expand Down

0 comments on commit 984134f

Please sign in to comment.