diff --git a/PadelClub/Views/Navigation/Agenda/TournamentLookUpView.swift b/PadelClub/Views/Navigation/Agenda/TournamentLookUpView.swift index df86047..9d4b9a5 100644 --- a/PadelClub/Views/Navigation/Agenda/TournamentLookUpView.swift +++ b/PadelClub/Views/Navigation/Agenda/TournamentLookUpView.swift @@ -237,6 +237,7 @@ struct TournamentLookUpView: View { } private func _gatherNumbers() { + searching = true Task { print("Doing.....") let tournamentsToFetch = tournaments.enumerated().filter { (idx, tournament) in @@ -279,6 +280,7 @@ struct TournamentLookUpView: View { print("Completed batch \(batchIndex + 1) of \(batches.count)") } + searching = false print(".....Done") } }