Преглед на файлове

【会员系统】状态栏试用过账号更改文案

dinglingui преди 1 седмица
родител
ревизия
db8deaebea
променени са 1 файла, в които са добавени 8 реда и са изтрити 1 реда
  1. 8 1
      PDF Office/PDF Master/Class/Purchase/DMG/Verification/KMVerificationMessageViewController.m

+ 8 - 1
PDF Office/PDF Master/Class/Purchase/DMG/Verification/KMVerificationMessageViewController.m

@@ -217,7 +217,14 @@ NSPopoverDelegate>
         [KMMemberInfo shared].userScenarioType == KMUserScenarioTypePro_type3 ||
         [KMMemberInfo shared].userScenarioType == KMUserScenarioTypePro_type4) {
         if ([KMMemberInfo shared].userScenarioType == KMUserScenarioTypeLite_type1) {
-            self.button.title = [NSString stringWithFormat:@" %@ ",NSLocalizedString(@"Free Trial", nil)];
+#if !VERSION_DMG
+            if(IAPProductsManager.defaultManager.fourDevicesAllAccessPackNew12months_lite.isTrialPeriod == YES) {
+                self.button.title = [NSString stringWithFormat:@" %@ ",NSLocalizedString(@"Upgrade", nil)];
+            } else {
+                self.button.title = [NSString stringWithFormat:@" %@ ",NSLocalizedString(@"Free Trial", nil)];
+            }
+#else
+#endif
             
             if (KMAdvertisementManager.manager.info.topRightInfoContent != nil) {
                 if (KMAdvertisementManager.manager.info.topRightInfoContent.content.firstObject != nil) {