Commit b224e1fe by 霍志良

feat:打开分享埋点,倾诉去除弹窗

parent 3549fb27
......@@ -170,19 +170,6 @@ class ConfideWebServiceImpl {
isShowAXB: Boolean,
dialStatus: String
) {
//3G以下或者其他不确定异常能判断出来的
if (!ConfideNetworkUtil.isWifiOr3G(activity)) {
CommonDialog.create(activity)
.setTitle("温馨提示")
.setMessage("当前网络异常\n请使用普通电话拨打?")
.setLeftOnclick("暂不拨打") {
}
.setRightClick("普通电话拨号") {
connectionJava(confideId, 1, activity, tellData, "0")
}
.show()
} else {
if (expertInfo.listenerStatus != 1) {
ToastHelper.show("老师正在通话中,请稍后重试")
return
......@@ -218,7 +205,7 @@ class ConfideWebServiceImpl {
.withString(IntentConstants.INTENT_DIALSTATUS, dialStatus)
.withBoolean(IntentConstants.INTENT_ISSHOWAXB, isShowAXB)
.navigation(activity)
}
}
......
......@@ -1020,11 +1020,10 @@ public class NewH5Activity extends BaseActivity implements PtrHandler {
}
private void initShareMenu() {
//暂时去掉分享按钮
// tb_title.setRightIcon(getResources().getDrawable(R.drawable.web_common_share));
// tb_title.setOnRightTextClick((view, isActive) -> {
// share(null, null);
// });
tb_title.setRightIcon(getResources().getDrawable(R.drawable.web_common_share));
tb_title.setOnRightTextClick((view, isActive) -> {
share(null, null);
});
LogUtil.d("setSeccessful");
}
......@@ -1359,6 +1358,7 @@ public class NewH5Activity extends BaseActivity implements PtrHandler {
@Override
protected void onDestroy() {
super.onDestroy();
cancelSendNetLossMessage();
EventBus.getDefault().unregister(this);
super.onDestroy();
......
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