fix paste bug

multistore
Razmig Sarkissian 2 years ago
parent cd94a671db
commit 0540943b26
  1. 8
      PadelClub/Views/Tournament/Screen/InscriptionManagerView.swift

@ -374,7 +374,13 @@ struct InscriptionManagerView: View {
TipView(pasteTip) { action in TipView(pasteTip) { action in
if let paste = UIPasteboard.general.string { if let paste = UIPasteboard.general.string {
self.pasteString = paste Task {
await MainActor.run {
fetchPlayers.nsPredicate = _pastePredicate(pasteField: paste, mostRecentDate: SourceFileManager.shared.mostRecentDateAvailable)
pasteString = paste
autoSelect = true
}
}
} }
} }
.tipStyle(tint: nil) .tipStyle(tint: nil)

Loading…
Cancel
Save