2
This commit is contained in:
@@ -263,3 +263,6 @@
|
|||||||
"Please Enter The Modified Nickname" = "Please enter the new nickname";
|
"Please Enter The Modified Nickname" = "Please enter the new nickname";
|
||||||
"Save" = "Save";
|
"Save" = "Save";
|
||||||
"Please copy the text first" = "Please copy the text first";
|
"Please copy the text first" = "Please copy the text first";
|
||||||
|
"Purchase cancelled." = "Purchase cancelled.";
|
||||||
|
"Purchase pending approval." = "Purchase pending approval.";
|
||||||
|
"Unable to obtain transaction payload." = "Unable to obtain transaction payload.";
|
||||||
|
|||||||
@@ -261,3 +261,6 @@
|
|||||||
"Please Enter The Modified Nickname" = "请输入修改后的昵称";
|
"Please Enter The Modified Nickname" = "请输入修改后的昵称";
|
||||||
"Save" = "保存";
|
"Save" = "保存";
|
||||||
"Please copy the text first" = "请先复制文本";
|
"Please copy the text first" = "请先复制文本";
|
||||||
|
"Purchase cancelled." = "已取消购买";
|
||||||
|
"Purchase pending approval." = "购买等待确认";
|
||||||
|
"Unable to obtain transaction payload." = "无法获取交易凭据";
|
||||||
|
|||||||
@@ -328,9 +328,9 @@ static NSString * const kKBJfPayCellId = @"kKBJfPayCellId";
|
|||||||
__weak typeof(self) weakSelf = self;
|
__weak typeof(self) weakSelf = self;
|
||||||
[[KBStoreKitBridge shared] purchaseWithProductId:productId completion:^(BOOL success, NSString * _Nullable message) {
|
[[KBStoreKitBridge shared] purchaseWithProductId:productId completion:^(BOOL success, NSString * _Nullable message) {
|
||||||
__strong typeof(weakSelf) self = weakSelf;
|
__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 dismiss];
|
||||||
[KBHUD showInfo:tip];
|
[KBHUD showInfo:KBLocalized(message)];
|
||||||
(void)self;
|
(void)self;
|
||||||
}];
|
}];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -204,9 +204,10 @@ static NSString * const kKBVipReviewListCellId = @"kKBVipReviewListCellId";
|
|||||||
__weak typeof(self) weakSelf = self;
|
__weak typeof(self) weakSelf = self;
|
||||||
[[KBStoreKitBridge shared] purchaseWithProductId:productId completion:^(BOOL success, NSString * _Nullable message) {
|
[[KBStoreKitBridge shared] purchaseWithProductId:productId completion:^(BOOL success, NSString * _Nullable message) {
|
||||||
__strong typeof(weakSelf) self = weakSelf;
|
__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 dismiss];
|
||||||
[KBHUD showInfo:tip];
|
// [KBHUD showInfo:tip];
|
||||||
|
[KBHUD showInfo:KBLocalized(message)];
|
||||||
if (!self || !success) { return; }
|
if (!self || !success) { return; }
|
||||||
// 刷新 UI 或数据
|
// 刷新 UI 或数据
|
||||||
[self selectCurrentPlanAnimated:NO];
|
[self selectCurrentPlanAnimated:NO];
|
||||||
|
|||||||
Reference in New Issue
Block a user