Browse Source

【综合】比较表远程控制兼容

niehaoyu 1 year ago
parent
commit
d71b5703ac

+ 5 - 5
PDF Office/PDF Master/Class/Purchase/Appstore/KMPurchaseCompareWindowController.m

@@ -646,11 +646,11 @@ static NSString *const KMPurchaseCompareCellIdentifier       = @"KMPurchaseCompa
     self.specialImageView.image = image;
     self.specialImageView1.image = image;
     
-//    if ([[KMKdanRemoteConfig remoteConfig] showAPP_AveragePrice]) {
-//        self.value1PurchaseLabel.stringValue = [NSString stringWithFormat:@"%@/%@", averageMonthPrice, NSLocalizedString(@"mon", nil)];
-//    } else {
-//        self.value1PurchaseLabel.stringValue = [NSString stringWithFormat:@"%@/%@", monthPrice, NSLocalizedString(@"6mon", nil)];
-//    }
+    if (KMKdanRemoteConfig.remoteConfig.showAPP_AveragePrice) {
+        self.value1PurchaseLabel.stringValue = [NSString stringWithFormat:@"%@/%@", averageMonthPrice, NSLocalizedString(@"mon", nil)];
+    } else {
+        self.value1PurchaseLabel.stringValue = [NSString stringWithFormat:@"%@/%@", monthPrice, NSLocalizedString(@"6mon", nil)];
+    }
     self.value1PurchaseLabel.textColor = [NSColor colorWithRed:1 green:231/255. blue:106/255. alpha:1.];
     
     NSString *tTips = [NSString stringWithFormat:NSLocalizedString(@"Billed every 6 months at %@", nil), monthPrice];