Skip to content

Commit

Permalink
Fixing upgrade method store key
Browse files Browse the repository at this point in the history
  • Loading branch information
gao-sun committed Feb 12, 2021
1 parent a11664d commit ec64292
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eul/Store/PreferenceStore.swift
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ class PreferenceStore: ObservableObject {
if let value = data["checkStatusItemVisibility"].bool {
checkStatusItemVisibility = value
}
if let raw = data["updateMethod"].string, let value = UpgradeMethod(rawValue: raw) {
if let raw = data["upgradeMethod"].string, let value = UpgradeMethod(rawValue: raw) {
upgradeMethod = value
}
} catch {
Expand Down

0 comments on commit ec64292

Please sign in to comment.