英文适配
This commit is contained in:
@@ -296,7 +296,7 @@ NSString * const kHadQuitOtherRoomKey = @"kHadQuitOtherRoomKey";//是否退出
|
||||
[self.presenter getRedPacketInft:self.redEnvelopeId];
|
||||
}
|
||||
///获取首充次数
|
||||
[self.presenter getRoomFirstCharegWindow:self.roomUid];
|
||||
// [self.presenter getRoomFirstCharegWindow:self.roomUid];
|
||||
if ([ClientConfig shareConfig].canOpen) {
|
||||
///获取已解锁照片id列表
|
||||
[self.presenter getUnlockRoomAlbumPhotoListWithRoomUid:self.roomUid];
|
||||
@@ -356,7 +356,7 @@ NSString * const kHadQuitOtherRoomKey = @"kHadQuitOtherRoomKey";//是否退出
|
||||
if([XPSkillCardPlayerManager shareInstance].isInRoomFirstRecharge == YES && self.isShowFirstRecharge == NO){
|
||||
[XPSkillCardPlayerManager shareInstance].isInRoomFirstRecharge = NO;
|
||||
///获取首充次数
|
||||
[self.presenter getRoomFirstCharegWindow:self.roomUid];
|
||||
// [self.presenter getRoomFirstCharegWindow:self.roomUid];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -751,30 +751,30 @@ NSString * const kHadQuitOtherRoomKey = @"kHadQuitOtherRoomKey";//是否退出
|
||||
|
||||
}
|
||||
-(void)showRoomFirstChargeWindowFormNot:(NSNotification *)not{
|
||||
if(not != nil){
|
||||
NSDictionary *parameter = not.object;
|
||||
if(parameter != nil){
|
||||
self.firstRechargeView.type = parameter[@"type"];
|
||||
self.firstRechargeView.diamonds = parameter[@"diamonds"];
|
||||
}
|
||||
}
|
||||
[NSObject cancelPreviousPerformRequestsWithTarget:self selector:@selector(showRoomFirstChargeWindow) object:nil];
|
||||
[[UIApplication sharedApplication].keyWindow addSubview:self.firstRechargeView];
|
||||
[self.presenter updateRoomFirstCharegWindow:self.roomUid];
|
||||
// if(not != nil){
|
||||
// NSDictionary *parameter = not.object;
|
||||
// if(parameter != nil){
|
||||
// self.firstRechargeView.type = parameter[@"type"];
|
||||
// self.firstRechargeView.diamonds = parameter[@"diamonds"];
|
||||
// }
|
||||
// }
|
||||
// [NSObject cancelPreviousPerformRequestsWithTarget:self selector:@selector(showRoomFirstChargeWindow) object:nil];
|
||||
// [[UIApplication sharedApplication].keyWindow addSubview:self.firstRechargeView];
|
||||
// [self.presenter updateRoomFirstCharegWindow:self.roomUid];
|
||||
|
||||
}
|
||||
-(void)showRoomFirstChargeWindow{
|
||||
if([XPSkillCardPlayerManager shareInstance].isInRoomFirstRecharge == YES){
|
||||
self.isShowFirstRecharge = NO;
|
||||
return;
|
||||
}
|
||||
UIViewController *viewController = [XCCurrentVCStackManager shareManager].getCurrentVC;
|
||||
if(![viewController isKindOfClass:[XPRoomViewController class]]){
|
||||
[viewController dismissViewControllerAnimated:YES completion:nil];
|
||||
}
|
||||
self.isShowFirstRecharge = NO;
|
||||
[self.presenter updateRoomFirstCharegWindow:self.roomUid];
|
||||
[[UIApplication sharedApplication].keyWindow addSubview:self.firstRechargeView];
|
||||
// if([XPSkillCardPlayerManager shareInstance].isInRoomFirstRecharge == YES){
|
||||
// self.isShowFirstRecharge = NO;
|
||||
// return;
|
||||
// }
|
||||
// UIViewController *viewController = [XCCurrentVCStackManager shareManager].getCurrentVC;
|
||||
// if(![viewController isKindOfClass:[XPRoomViewController class]]){
|
||||
// [viewController dismissViewControllerAnimated:YES completion:nil];
|
||||
// }
|
||||
// self.isShowFirstRecharge = NO;
|
||||
// [self.presenter updateRoomFirstCharegWindow:self.roomUid];
|
||||
// [[UIApplication sharedApplication].keyWindow addSubview:self.firstRechargeView];
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user