小遊戲bug修改
This commit is contained in:
@@ -3,7 +3,17 @@ package com.yunbao.common.event;
|
||||
import com.yunbao.common.bean.BaseModel;
|
||||
|
||||
public class HideShowEvent extends BaseModel {
|
||||
private boolean isClose = false;
|
||||
private boolean isClose = false;
|
||||
private boolean hide = false;
|
||||
|
||||
public boolean isHide() {
|
||||
return hide;
|
||||
}
|
||||
|
||||
public HideShowEvent setHide(boolean hide) {
|
||||
this.hide = hide;
|
||||
return this;
|
||||
}
|
||||
|
||||
public boolean isClose() {
|
||||
return isClose;
|
||||
|
||||
@@ -62,7 +62,7 @@ public class IMLoginManager extends BaseCacheManager {
|
||||
}
|
||||
|
||||
public void setSudGameMin() {
|
||||
put("SudGameMin", "1");
|
||||
put("SudGameMin", "0");
|
||||
}
|
||||
|
||||
public boolean getSudGameMin() {
|
||||
|
||||
@@ -163,9 +163,12 @@ public class LiveSudGamePopup extends BottomPopupView {
|
||||
|
||||
@Subscribe(threadMode = ThreadMode.MAIN)
|
||||
public void onHideShow(HideShowEvent event) {
|
||||
if (event.isClose()){
|
||||
if (event.isClose()) {
|
||||
dialog.dismiss();
|
||||
}else {
|
||||
} else {
|
||||
if (event.isHide()) {
|
||||
findViewById(R.id.min_game).setVisibility(GONE);
|
||||
}
|
||||
dialog.show();
|
||||
}
|
||||
|
||||
|
||||
@@ -1365,7 +1365,7 @@ Limited ride And limited avatar frame</string>
|
||||
<string name="choose_a_prank_gift_hint2">Input quantity</string>
|
||||
<string name="sud_in_game">IN GAME</string>
|
||||
<string name="currently_in_the_game">You are currently in the game, please return in a timely manner.\\nFailure to return for a long time will be considered a surrender.</string>
|
||||
<string name="the_live_room">Exiting the live room will synchronize with exiting the game room.\\nDo you want to continue</string>
|
||||
<string name="the_live_room">Exiting the live room will synchronize with exiting the game room. \\n Do you want to continue</string>
|
||||
<string name="sud_in_game_minimize">minimize</string>
|
||||
|
||||
</resources>
|
||||
|
||||
@@ -1367,7 +1367,7 @@ Limited ride And limited avatar frame</string>
|
||||
<string name="choose_a_prank_gift_hint">Enter the prank content...</string>
|
||||
<string name="choose_a_prank_gift_hint2">Input quantity</string>
|
||||
<string name="currently_in_the_game">You are currently in the game, please return in a timely manner.\\nFailure to return for a long time will be considered a surrender.</string>
|
||||
<string name="the_live_room">Exiting the live room will synchronize with exiting the game room.\\nDo you want to continue</string>
|
||||
<string name="the_live_room">Exiting the live room will synchronize with exiting the game room. \\n Do you want to continue</string>
|
||||
<string name="sud_in_game">IN GAME</string>
|
||||
<string name="sud_in_game_minimize">minimize</string>
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user