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") {