Skip to content

Commit

Permalink
Fixed merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtSabintsev committed May 24, 2016
2 parents c0e4027 + c81daf1 commit 07139b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Siren/Siren.swift
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ private extension Siren {

if newVersion[0] > oldVersion[0] { // A.b.c.d
alertType = majorUpdateAlertType
} else if newVersion[1] > oldVersion[1] { // a.B.c.d
} else if newVersion.count > 1 && (oldVersion.count <= 1 || newVersion[1] > oldVersion[1]) { // a.B.c.d
alertType = minorUpdateAlertType
} else if newVersion.count > 2 && (oldVersion.count <= 2 || newVersion[2] > oldVersion[2]) { // a.b.C.d
alertType = patchUpdateAlertType
Expand Down

0 comments on commit 07139b9

Please sign in to comment.