From dd91369c6b15e16fcef1bbd4a7bfce0912a08040 Mon Sep 17 00:00:00 2001 From: Razmig Sarkissian Date: Fri, 26 Sep 2025 12:49:15 +0200 Subject: [PATCH] animation fix in debug --- PadelClub/Views/Navigation/Agenda/TournamentLookUpView.swift | 2 ++ 1 file changed, 2 insertions(+) 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") } }