animation fix in debug

sync3
Razmig Sarkissian 1 month ago
parent 3305c9aaf4
commit dd91369c6b
  1. 2
      PadelClub/Views/Navigation/Agenda/TournamentLookUpView.swift

@ -237,6 +237,7 @@ struct TournamentLookUpView: View {
} }
private func _gatherNumbers() { private func _gatherNumbers() {
searching = true
Task { Task {
print("Doing.....") print("Doing.....")
let tournamentsToFetch = tournaments.enumerated().filter { (idx, tournament) in let tournamentsToFetch = tournaments.enumerated().filter { (idx, tournament) in
@ -279,6 +280,7 @@ struct TournamentLookUpView: View {
print("Completed batch \(batchIndex + 1) of \(batches.count)") print("Completed batch \(batchIndex + 1) of \(batches.count)")
} }
searching = false
print(".....Done") print(".....Done")
} }
} }

Loading…
Cancel
Save