Configure reviewer event count in AppConstants
This commit is contained in:
parent
d2186678de
commit
323807cfbf
|
@ -39,6 +39,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UISplitViewControllerDele
|
|||
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
|
||||
InfrastructureFactory.shared.loadCache()
|
||||
Theme.current.applyAppearance()
|
||||
Reviewer.shared.eventCountBeforeRating = AppConstants.Rating.eventCount
|
||||
|
||||
// Override point for customization after application launch.
|
||||
let splitViewController = window!.rootViewController as! UISplitViewController
|
||||
|
|
|
@ -234,4 +234,8 @@ class AppConstants {
|
|||
)
|
||||
]
|
||||
}
|
||||
|
||||
struct Rating {
|
||||
static let eventCount = 3
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue