diff --git a/PadelClub/Views/Tournament/Screen/InscriptionManagerView.swift b/PadelClub/Views/Tournament/Screen/InscriptionManagerView.swift index dbaa21b..4641793 100644 --- a/PadelClub/Views/Tournament/Screen/InscriptionManagerView.swift +++ b/PadelClub/Views/Tournament/Screen/InscriptionManagerView.swift @@ -670,7 +670,7 @@ struct InscriptionManagerView: View { Section { TipView(searchTip) { action in - presentPlayerCreation = true + presentPlayerSearch = true } .tipStyle(tint: nil) } @@ -678,7 +678,7 @@ struct InscriptionManagerView: View { Section { TipView(createTip) { action in - presentPlayerSearch = true + presentPlayerCreation = true } .tipStyle(tint: nil) } diff --git a/PadelClub/Views/Tournament/Shared/TournamentCellView.swift b/PadelClub/Views/Tournament/Shared/TournamentCellView.swift index 51546f8..ecd2f32 100644 --- a/PadelClub/Views/Tournament/Shared/TournamentCellView.swift +++ b/PadelClub/Views/Tournament/Shared/TournamentCellView.swift @@ -63,7 +63,7 @@ struct TournamentCellView: View { VStack(alignment: .leading, spacing: 0.0) { if let tournament = tournament as? Tournament { HStack { - Text(tournament.locationLabel(displayStyle)) + Text(tournament.locationLabel(displayStyle)).lineLimit(1) .font(.caption) Spacer() if tournament.isPrivate { @@ -71,7 +71,7 @@ struct TournamentCellView: View { } } } else { - Text(tournament.clubLabel()) + Text(tournament.clubLabel()).lineLimit(1) .font(.caption) } HStack(alignment: .bottom) { @@ -115,7 +115,7 @@ struct TournamentCellView: View { Text(word + teamCount.pluralSuffix) } } - Text(tournament.subtitleLabel()) + Text(tournament.subtitleLabel()).lineLimit(1) } else { Text(build.category.localizedLabel()) Text(build.age.localizedLabel())