paca_championship
Raz 11 months ago
parent 99bf6c40d4
commit 7337767dd2
  1. 2
      PadelClub/Views/Tournament/Screen/InscriptionManagerView.swift

@ -878,6 +878,7 @@ struct InscriptionManagerView: View {
gatheringInProgress = true gatheringInProgress = true
gathered = 0 gathered = 0
gatheringDone = false gatheringDone = false
print("total", unrankedUnsourced)
for player in unrankedUnsourced { for player in unrankedUnsourced {
do { do {
if let playerData = try await player.fetchUnrankPlayerData() { if let playerData = try await player.fetchUnrankPlayerData() {
@ -888,6 +889,7 @@ struct InscriptionManagerView: View {
try tournamentStore.playerRegistrations.addOrUpdate(instance: player) try tournamentStore.playerRegistrations.addOrUpdate(instance: player)
await MainActor.run { await MainActor.run {
gathered += 1 gathered += 1
print("gathered", gathered)
} }
} }
} catch { } catch {

Loading…
Cancel
Save