Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YDL-Component-Medical
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨凯
YDL-Component-Medical
Commits
b224e1fe
Commit
b224e1fe
authored
Nov 22, 2021
by
霍志良
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:打开分享埋点,倾诉去除弹窗
parent
3549fb27
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
19 deletions
+6
-19
ConfideWebServiceImpl.kt
m-confide/src/main/java/com/ydl/confide/home/modular/service/ConfideWebServiceImpl.kt
+1
-14
NewH5Activity.java
ydl-webview/src/main/java/com/ydl/webview/NewH5Activity.java
+5
-5
No files found.
m-confide/src/main/java/com/ydl/confide/home/modular/service/ConfideWebServiceImpl.kt
View file @
b224e1fe
...
...
@@ -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
)
}
}
...
...
ydl-webview/src/main/java/com/ydl/webview/NewH5Activity.java
View file @
b224e1fe
...
...
@@ -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
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment