chore: migrations would play when debugging local builds
This commit is contained in:
1 parent
be5eb26385
commit
e3fafbc6ff
1 file changed
+1
-1
@@ -194,7 +194,7 @@ class Preferences {
|
||||
static func migratePreferences() {
|
||||
let preferencesKey = "preferencesVersion"
|
||||
if let versionInPlist = UserDefaults.standard.string(forKey: preferencesKey) {
|
||||
if versionInPlist.compare(App.version, options: .numeric) != .orderedDescending {
|
||||
if versionInPlist != "#VERSION#" && versionInPlist.compare(App.version, options: .numeric) != .orderedDescending {
|
||||
updateToNewPreferences(versionInPlist)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user