mirror of
https://github.com/ivanvorobei/SwiftUI.git
synced 2026-03-30 22:22:11 +02:00
Xcode 11 beta 6
This commit is contained in:
@@ -19,7 +19,7 @@ struct TaskItemView: View {
|
||||
if self.isEditing {
|
||||
Image(systemName: "minus.circle")
|
||||
.foregroundColor(.red)
|
||||
.tapAction(count: 1) {
|
||||
.onTapGesture(count: 1) {
|
||||
self.delete()
|
||||
}
|
||||
NavigationLink(destination: TaskEditView(task: task).environmentObject(self.userData)) {
|
||||
|
||||
Reference in New Issue
Block a user