Skip to content

Commit

Permalink
Merge hotfix/v1.2.1 into master
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmitchell committed Mar 28, 2020
2 parents a770835 + 21befb6 commit 0cabb14
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ extension UserDefaults: ReviewRequestControllerStorage {

private static let LastReviewSessionKey = "ReviewRequestLastSession"

private static let NumberOfSessionsKey = "ReviewRequestSessions"
private static let NumberOfSessionsKey = "ReviewRequestSessionsNumber"

private static let LastReviewVersionKey = "ReviewRequestLastVersion"

Expand Down Expand Up @@ -97,10 +97,10 @@ extension UserDefaults: ReviewRequestControllerStorage {

public var numberOfSessions: Int {
get {
return integer(forKey: UserDefaults.ReviewSessionsKey)
return integer(forKey: UserDefaults.NumberOfSessionsKey)
}
set {
set(newValue, forKey: UserDefaults.ReviewSessionsKey)
set(newValue, forKey: UserDefaults.NumberOfSessionsKey)
}
}

Expand Down

0 comments on commit 0cabb14

Please sign in to comment.