2
This commit is contained in:
@@ -204,9 +204,10 @@ static NSString * const kKBVipReviewListCellId = @"kKBVipReviewListCellId";
|
||||
__weak typeof(self) weakSelf = self;
|
||||
[[KBStoreKitBridge shared] purchaseWithProductId:productId completion:^(BOOL success, NSString * _Nullable message) {
|
||||
__strong typeof(weakSelf) self = weakSelf;
|
||||
NSString *tip = message.length ? message : (success ? KBLocalized(@"Payment successful") : KBLocalized(@"Payment failed"));
|
||||
// NSString *tip = message.length ? message : (success ? KBLocalized(@"Payment successful") : KBLocalized(@"Payment failed"));
|
||||
[KBHUD dismiss];
|
||||
[KBHUD showInfo:tip];
|
||||
// [KBHUD showInfo:tip];
|
||||
[KBHUD showInfo:KBLocalized(message)];
|
||||
if (!self || !success) { return; }
|
||||
// 刷新 UI 或数据
|
||||
[self selectCurrentPlanAnimated:NO];
|
||||
|
||||
Reference in New Issue
Block a user