英文适配

This commit is contained in:
liyuhua
2024-04-10 17:39:37 +08:00
parent b4269b347d
commit 085cbbd321
89 changed files with 2151 additions and 1206 deletions

View File

@@ -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];
}