判断一下开关开启是显示 ON

开关关闭显示 OFF
This commit is contained in:
ningwenqiang 2024-10-15 18:03:14 +08:00
parent f528353dd0
commit 6b9d951c55

View File

@ -178,7 +178,7 @@ public class LiveOpenCustomPopup extends BottomPopupView {
@Override @Override
public void onSuccess(LiveStetUpStatusModel data) { public void onSuccess(LiveStetUpStatusModel data) {
textLiveWishlist.setText(data.getWishListState() ? R.string.do_set : R.string.not_set); textLiveWishlist.setText(data.getWishListState() ? R.string.do_set : R.string.not_set);
textRobot.setText(data.getAiStateState() ? R.string.robot_yes : R.string.robot_no); textRobot.setText(data.getAiStateState() ? R.string.robot_on : R.string.robot_off);
} }
@Override @Override