Skip to content

Commit

Permalink
fixes a bug where PlainTaskTrigger would not re-trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
lukepistrol committed Jul 1, 2024
1 parent 8ca8d77 commit 45a598e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/TaskTrigger/TaskTrigger.swift
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ public typealias PlainTaskTrigger = TaskTrigger<Bool>
public extension PlainTaskTrigger {
/// Triggers the tasks associated with this ``TaskTrigger/PlainTaskTrigger``.
mutating func trigger() {
self.state = .active(value: true)
self.state = .active(value: true, uuid: .init())
}
}

0 comments on commit 45a598e

Please sign in to comment.