Improve labels

multistore
Laurent 1 year ago
parent 13a42667e8
commit fd06a0bcc8
  1. 6
      PadelClub/Views/Team/Components/TeamHeaderView.swift

@ -17,17 +17,17 @@ struct TeamHeaderView: View {
}
private func _teamHeaderView(_ team: TeamRegistration, teamIndex: Int?) -> some View {
HStack {
HStack(spacing: 16.0) {
if let teamIndex {
VStack(alignment: .leading, spacing: 0) {
Text("rang").font(.caption)
Text("Rang").font(.caption)
Text("#" + (teamIndex + 1).formatted())
}
}
if team.unsortedPlayers().isEmpty == false {
VStack(alignment: .leading, spacing: 0) {
Text("poids").font(.caption)
Text("Poids").font(.caption)
Text(team.weight.formatted())
}
}

Loading…
Cancel
Save