Skip to content

Commit

Permalink
fix: issue cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
riderx committed Jun 24, 2022
1 parent c593f8b commit 6c6e395
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 @@ -70,7 +70,7 @@ public class CapacitorUpdaterPlugin: CAPPlugin {
_ = implementation.delete(version: version.getName())
}
}
UserDefaults.standard.set( self.currentVersionNative, forKey: "LatestVersionNative")
UserDefaults.standard.set( self.currentVersionNative.description, forKey: "LatestVersionNative")
UserDefaults.standard.synchronize()
}

Expand Down

0 comments on commit 6c6e395

Please sign in to comment.