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
f54cbd9c
Commit
f54cbd9c
authored
Jun 15, 2022
by
刘鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 注销登录toast延长提示
parent
234f1074
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
AccountUnRegisterActivity.kt
m-user/src/main/java/com/yidianling/user/mine/AccountUnRegisterActivity.kt
+2
-2
No files found.
m-user/src/main/java/com/yidianling/user/mine/AccountUnRegisterActivity.kt
View file @
f54cbd9c
...
@@ -66,11 +66,11 @@ class AccountUnRegisterActivity : BaseActivity() {
...
@@ -66,11 +66,11 @@ class AccountUnRegisterActivity : BaseActivity() {
.
observeOn
(
AndroidSchedulers
.
mainThread
())
.
observeOn
(
AndroidSchedulers
.
mainThread
())
.
subscribe
{
.
subscribe
{
if
(
it
.
code
==
"200"
&&
!
isFinishing
&&
it
.
data
)
{
if
(
it
.
code
==
"200"
&&
!
isFinishing
&&
it
.
data
)
{
ToastUtil
.
toast
Short
(
"账号已注销"
)
ToastUtil
.
toast
Long
(
this
@AccountUnRegisterActivity
,
"账号已注销"
)
EventBus
.
getDefault
().
post
(
UnRegisterEvent
())
EventBus
.
getDefault
().
post
(
UnRegisterEvent
())
finish
()
finish
()
}
else
{
}
else
{
ToastUtil
.
toast
Short
(
it
.
msg
)
ToastUtil
.
toast
Long
(
this
@AccountUnRegisterActivity
,
it
.
msg
)
}
}
}
}
...
...
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