Skip to content
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.

Commit

Permalink
Disable update dialog for upgrades from previous v6 builds
Browse files Browse the repository at this point in the history
  • Loading branch information
ccrama committed Oct 20, 2020
1 parent 4125239 commit 88ed2c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Slide for Reddit/SettingValues.swift
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@ class SettingValues {

public static func doneVersion() -> Bool {
let settings = UserDefaults.standard
return settings.object(forKey: Bundle.main.releaseVersionNumber!) != nil
return settings.object(forKey: "6") != nil || settings.object(forKey: "6.0") != nil || settings.object(forKey: "6.0.2") != nil
}

public static func firstEnter() -> Bool {
Expand Down

0 comments on commit 88ed2c4

Please sign in to comment.