Commit a30c25d3 by 严久程

弹窗文案

parent 20efc3b5
......@@ -1259,6 +1259,7 @@ public class YDLMessageFragment extends TFragment implements ModuleProxy {
CommonDialog.create(getActivity())
.setLeftOnclick("返回", v -> getActivity().finish())
.setRightClick("继续", v -> SharedPreferencesEditor.putString("chat_age_ensure_" + ImIn.INSTANCE.getUserInfo().getUid(), "ensure"))
.setMessage("由于您未满16周岁,如需咨询需要在家长陪同下进行")
.setCancelAble(false)
.show();
}
......
......@@ -355,7 +355,7 @@ class CollectUserInformationView(
}
.setMessage("由于您未满16周岁,如需咨询需要在家长陪同下进行")
.setTitle_color(R.color.im_color_242424)
.setCancelAble(true)
.setCancelAble(false)
}
if (!ensureAgeDialog!!.isShowing) {
ensureAgeDialog!!.show()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment