Move some flags into app

This commit is contained in:
Davide De Rosa 2019-11-04 10:05:38 +01:00
parent 45bd573b54
commit 05dd40939d
3 changed files with 10 additions and 8 deletions

View File

@ -27,7 +27,11 @@ import Foundation
import PassepartoutCore
extension AppConstants {
class Flags {
struct Rating {
static let eventCount = 3
}
struct Flags {
static var isBeta: Bool {
#if targetEnvironment(simulator)
return true
@ -44,4 +48,8 @@ extension AppConstants {
}
}
}
struct InApp {
public static let limitedNumberOfHosts = 2
}
}

View File

@ -107,9 +107,3 @@ extension Infrastructure.Name {
return product
}
}
extension AppConstants {
struct InApp {
public static let limitedNumberOfHosts = 2
}
}

@ -1 +1 @@
Subproject commit e2aae5e8d9f366e43d1a77767f01bf0e06463459
Subproject commit f9373dd7681e82741dd173e0be22cdea9a17c980