Skip to content

Commit

Permalink
FIX a conditional statement for the skip action. (ArtSabintsev#270)
Browse files Browse the repository at this point in the history
  • Loading branch information
nixnoughtnothing authored and ArtSabintsev committed Feb 9, 2019
1 parent 5f00463 commit de971bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Siren.swift
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ private extension Siren {
if let previouslySkippedVersion = UserDefaults.storedSkippedVersion,
let currentInstalledVersion = currentInstalledVersion,
!currentAppStoreVersion.isEmpty,
currentAppStoreVersion != previouslySkippedVersion {
currentAppStoreVersion == previouslySkippedVersion {
resultsHandler?(nil, .skipVersionUpdate(installedVersion: currentInstalledVersion, appStoreVersion: currentAppStoreVersion))
return
}
Expand Down

0 comments on commit de971bf

Please sign in to comment.