From 8379eccfb6f617e61c0c5a587dafda437a6832fc Mon Sep 17 00:00:00 2001 From: Razmig Sarkissian Date: Wed, 15 Oct 2025 07:51:37 +0200 Subject: [PATCH] fix registion issues not displayed --- .../Tournament/Screen/InscriptionManagerView.swift | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/PadelClub/Views/Tournament/Screen/InscriptionManagerView.swift b/PadelClub/Views/Tournament/Screen/InscriptionManagerView.swift index a0c5470..5bd37aa 100644 --- a/PadelClub/Views/Tournament/Screen/InscriptionManagerView.swift +++ b/PadelClub/Views/Tournament/Screen/InscriptionManagerView.swift @@ -271,9 +271,7 @@ struct InscriptionManagerView: View { // await _refreshList(forced: true) // } .onAppear { - if tournament.enableOnlineRegistration == false || refreshStatus == true { - _setHash(currentSelectedSortedTeams: selectedSortedTeams) - } + _setHash(currentSelectedSortedTeams: selectedSortedTeams) } .onDisappear { _handleHashDiff(selectedSortedTeams: selectedSortedTeams) @@ -942,14 +940,9 @@ struct InscriptionManagerView: View { if tournament.enableOnlineRegistration { LabeledContent { Text(tournament.unsortedTeams().filter({ $0.hasRegisteredOnline() }).count.formatted()) - .font(.largeTitle) + .fontWeight(.bold) } label: { Text("Inscriptions en ligne") - if let refreshResult { - Text(refreshResult).foregroundStyle(.secondary) - } else { - Text(" ") - } } // RowButtonView("RafraƮchir les inscriptions en ligne") {