Skip to content

Commit

Permalink
fix: build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
riderx committed Mar 7, 2022
1 parent 97b7e62 commit fac5398
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 @@ -237,7 +237,7 @@ public class CapacitorUpdaterPlugin: CAPPlugin {
print("✨ Capacitor-updater: Revert to version: \(pastVersionName == "" ? "builtin" : pastVersionName) Failed");
}
} else {
if self._reset(false) {
if self._reset(toAutoUpdate: false) {
UserDefaults.standard.set("", forKey: "LatestVersionAutoUpdate")
UserDefaults.standard.set("", forKey: "LatestVersionNameAutoUpdate")
print("✨ Capacitor-updater: Auto reset done")
Expand Down

0 comments on commit fac5398

Please sign in to comment.