遊戲bug修復

This commit is contained in:
18401019693
2023-10-28 14:19:11 +08:00
parent f356446c03
commit 86d730cdf1
10 changed files with 47 additions and 21 deletions

View File

@@ -19,6 +19,8 @@ public class SudGameDateModel extends BaseModel{
private String roomStatus;
@SerializedName("sud_game_name")
private String sudGameName;
@SerializedName("sud_game_name_en")
private String sud_game_name_en;
@SerializedName("room_name")
private String roomName;
@SerializedName("player_total")
@@ -40,6 +42,15 @@ public class SudGameDateModel extends BaseModel{
return roomHolderId;
}
public String getSud_game_name_en() {
return sud_game_name_en;
}
public SudGameDateModel setSud_game_name_en(String sud_game_name_en) {
this.sud_game_name_en = sud_game_name_en;
return this;
}
public SudGameDateModel setRoomHolderId(String roomHolderId) {
this.roomHolderId = roomHolderId;
return this;

View File

@@ -102,6 +102,7 @@ public class LiveSudGamePopup extends BottomPopupView {
dialog.hide();
Bus.get().post(new ShowHideEvent());
} else {
IMLoginManager.get(getContext()).setSudGameMin();
new XPopup.Builder(getContext())
.asCustom(new HintCustomPopup(getContext(),
getContext().getString(R.string.dialog_tip),
@@ -111,7 +112,7 @@ public class LiveSudGamePopup extends BottomPopupView {
.setCallBack(new HintCustomPopup.HintCustomCallBack() {
@Override
public void onSure() {
IMLoginManager.get(getContext()).setSudGameMin();
dialog.hide();
Bus.get().post(new ShowHideEvent());
}