update 随机PK

This commit is contained in:
zlzw 2022-12-08 18:14:13 +08:00
parent 3fa259c5b9
commit 4ad75a11a8

View File

@ -188,6 +188,9 @@ public class RandomPkDialogFragment extends AbsDialogFragment implements View.On
* @param pk 1=on,0=off * @param pk 1=on,0=off
*/ */
private void setPkSwitch(int pk) { private void setPkSwitch(int pk) {
if (RandomPkManager.getInstance().isRequestPk() || RandomPkManager.getInstance().isExiting()) {
return;
}
loadDialog = DialogUitl.loadingDialog(mContext); loadDialog = DialogUitl.loadingDialog(mContext);
loadDialog.show(); loadDialog.show();
LiveNetManager.get(mContext) LiveNetManager.get(mContext)