UI improvement

multistore
Laurent 2 years ago
parent b8a62f079e
commit ba60ced1a6
  1. 4
      PadelClub/Views/Tournament/TournamentView.swift

@ -23,8 +23,8 @@ struct TournamentView: View {
var body: some View { var body: some View {
VStack(spacing: 0.0) { VStack(spacing: 0.0) {
SubscriptionInfoView()
List { List {
SubscriptionInfoView()
Section { Section {
NavigationLink(value: Screen.inscription) { NavigationLink(value: Screen.inscription) {
LabeledContent { LabeledContent {
@ -92,7 +92,7 @@ struct TournamentView: View {
.toolbarBackground(.visible, for: .navigationBar) .toolbarBackground(.visible, for: .navigationBar)
.toolbar { .toolbar {
ToolbarItem(placement: .principal) { ToolbarItem(placement: .principal) {
VStack { VStack(spacing: -4.0) {
Text(tournament.tournamentTitle()).font(.headline) Text(tournament.tournamentTitle()).font(.headline)
Text(tournament.formattedDate()) Text(tournament.formattedDate())
.font(.subheadline).foregroundStyle(.secondary) .font(.subheadline).foregroundStyle(.secondary)

Loading…
Cancel
Save