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

Commit

Permalink
Disable whatsNew for 2.17
Browse files Browse the repository at this point in the history
  • Loading branch information
saeedbashir committed Dec 13, 2018
1 parent d35984d commit 994aad9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/WhatsNewViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ class WhatsNewViewController: UIViewController, UIPageViewControllerDelegate, UI
}

static func canShowWhatsNew(environment: RouterEnvironment?) -> Bool {
return false
let appVersion = Version(version: Bundle.main.oex_buildVersionString())
let savedAppVersion = Version(version: environment?.interface?.getSavedAppVersionForWhatsNew() ?? "")
let validDiff = appVersion.isNMinorVersionsDiff(otherVersion: savedAppVersion, minorVersionDiff: 1)
Expand Down

0 comments on commit 994aad9

Please sign in to comment.