Skip to content

Commit

Permalink
fix: issue conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
riderx committed Mar 28, 2022
1 parent a9abc5c commit 8544f59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/Plugin/CapacitorUpdaterPlugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ public class CapacitorUpdaterPlugin: CAPPlugin {
if let dl = dlOp {
print("✨ Capacitor-updater: New version: \(newVersion) found. Current is \(currentVersion == "" ? "builtin" : currentVersion), next backgrounding will trigger update")
UserDefaults.standard.set(dl, forKey: "nextVersion")
UserDefaults.standard.set(newVersion, forKey: "nextVersionName")
UserDefaults.standard.set(newVersion.description, forKey: "nextVersionName")
} else {
print("✨ Capacitor-updater: Download version \(newVersion) fail")
}
Expand Down

0 comments on commit 8544f59

Please sign in to comment.