Skip to content

Commit

Permalink
Optional bool comparison is hard
Browse files Browse the repository at this point in the history
  • Loading branch information
PimCoumans committed Apr 17, 2024
1 parent 2f1e85b commit b97fa78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/AnimationPlanner/Animations/Extra.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ extension Extra: PerformsAnimations {
}

workItem.notify(queue: .main) { [weak workItem] in
let isFinished = workItem?.isCancelled != false
let isFinished = workItem?.isCancelled != true
completion?(isFinished)
}

Expand Down

0 comments on commit b97fa78

Please sign in to comment.