修复后台个播房切普通房闪退问题修复bug
This commit is contained in:
@@ -126,19 +126,18 @@
|
||||
-(void)ms_didSelectLittleGameItemAtIndexPath:(LittleGameInfoModel *)model {
|
||||
if (self.hostDelegate.isManagerOrOwner) {
|
||||
@kWeakify(self);
|
||||
[TTPopup alertWithMessage:@"确认开启游戏?" confirmHandler:^{
|
||||
[TTPopup alertWithMessage:YMLocalizedString(@"MSRoomMenuGameVC0") confirmHandler:^{
|
||||
@kStrongify(self);
|
||||
[self startLittleGameWith:model];
|
||||
} cancelHandler:^{}];
|
||||
} else {
|
||||
[XNDJTDDLoadingTool showErrorWithMessage:@"无权发起该游戏,请联系房主或管理员~"];
|
||||
[XNDJTDDLoadingTool showErrorWithMessage:YMLocalizedString(@"MSRoomMenuGameVC1")];
|
||||
}
|
||||
}
|
||||
|
||||
- (void)startLittleGameWith:(LittleGameInfoModel *)model {
|
||||
RoomInfoModel * roomInfo = self.hostDelegate.getRoomInfo;
|
||||
NSMutableDictionary * params = [NSMutableDictionary dictionary];
|
||||
NSString * uid = [AccountInfoStorage instance].getUid;
|
||||
NSString * ticket = [AccountInfoStorage instance].getTicket;
|
||||
[params setObject:ticket forKey:@"ticket"];
|
||||
[params setObject:@(roomInfo.uid).stringValue forKey:@"uid"];
|
||||
|
@@ -3832,3 +3832,6 @@ ineHeadView12" = "الحمل";
|
||||
"MSRoomGameVC1"="المحفظة";
|
||||
//XPMineAccountView
|
||||
"XPMineAccountView1"="أدخل بسرعة لإعادة الشحن";
|
||||
//MSRoomMenuGameVC
|
||||
"MSRoomMenuGameVC0"="تأكيد لبدء اللعبة؟";
|
||||
"MSRoomMenuGameVC1"="ليس لديك إذن بتشغيل هذه اللعبة، يرجى التواصل بصاحب أومشرف الغرفة ~";
|
||||
|
@@ -3633,3 +3633,6 @@
|
||||
"MSRoomGameVC1"="Wallet";
|
||||
//XPMineAccountView
|
||||
"XPMineAccountView1"="Quick access to recharge";
|
||||
//MSRoomMenuGameVC
|
||||
"MSRoomMenuGameVC0"="Confirm to start the game?";
|
||||
"MSRoomMenuGameVC1"="You do not have the right to start this game, please contact the room owner or administrator~";
|
||||
|
@@ -3295,5 +3295,6 @@
|
||||
//XPMineAccountView
|
||||
"XPMineAccountView1"="快速进入充值";
|
||||
|
||||
|
||||
|
||||
//MSRoomMenuGameVC
|
||||
"MSRoomMenuGameVC0"="确认开启游戏?";
|
||||
"MSRoomMenuGameVC1"="无权发起该游戏,请联系房主或管理员~";
|
||||
|
@@ -3285,3 +3285,6 @@
|
||||
|
||||
//XPMineAccountView
|
||||
"XPMineAccountView1"="快速進入充值";
|
||||
//MSRoomMenuGameVC
|
||||
"MSRoomMenuGameVC0"="確認開啟遊戲?";
|
||||
"MSRoomMenuGameVC1"="無權發起該遊戲,請聯系房主或管理員~";
|
||||
|
Reference in New Issue
Block a user