|
@@ -375,8 +375,7 @@ extension KMAdvertisementManager {
|
|
|
}
|
|
|
|
|
|
let currentTime = Int(NSDate.init().timeIntervalSince1970 * 1000)
|
|
|
- if info.show == "1" &&
|
|
|
- currentTime > Int(info.startTime ?? "0") ?? currentTime &&
|
|
|
+ if currentTime > Int(info.startTime ?? "0") ?? currentTime &&
|
|
|
currentTime < Int(info.endTime ?? "0") ?? currentTime {
|
|
|
|
|
|
} else {
|
|
@@ -385,7 +384,7 @@ extension KMAdvertisementManager {
|
|
|
|
|
|
|
|
|
if info.subscriptionType == "1" {
|
|
|
- if !IAPProductsManager.default().isAvailableAllFunction() {
|
|
|
+ if IAPProductsManager.default().isAvailableAllFunction() {
|
|
|
return false
|
|
|
}
|
|
|
} else if info.subscriptionType == "2" {
|