sync3
Laurent 1 month ago
parent c2ccbf5dd7
commit cc50cc45ac
  1. 5
      PadelClub/Views/User/ShareModelView.swift

@ -16,6 +16,8 @@ struct ShareModelView<T: SyncedStorable> : View {
let instance: T
@State var payment: TournamentPayment? = nil
var body: some View {
NavigationView {
if !self.viewModel.availableUsers.isEmpty {
@ -51,6 +53,9 @@ struct ShareModelView<T: SyncedStorable> : View {
}.onAppear {
self.viewModel.selectedUsers = StoreCenter.main.authorizedUsers(for: self.instance.stringId)
}
.task {
self.payment = await Guard.main.paymentForNewTournament()
}
}
fileprivate func _modifyAuthorizedUsersList() {

Loading…
Cancel
Save