paca_championship
Raz 1 year ago
parent 41e356bf28
commit 3d00c58eb2
  1. 4
      PadelClub/Views/Score/FollowUpMatchView.swift

@ -286,8 +286,10 @@ struct FollowUpMatchView: View {
} }
} }
.onChange(of: readyMatches) { .onChange(of: readyMatches) {
dismissWhenPresentFollowUpMatchIsDismissed = true
if autoDismiss { if autoDismiss {
dismissWhenPresentFollowUpMatchIsDismissed = true dismiss()
} else if readyMatches.isEmpty && matchesLeft.isEmpty {
dismiss() dismiss()
} }
} }

Loading…
Cancel
Save