Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in
Toggle navigation
A
AnchorCollect_p
Project
Project
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hywang
AnchorCollect_p
Commits
54a50586
Commit
54a50586
authored
Jun 27, 2023
by
hywang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.登录时间错误提示框不可取消
parent
93085613
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
build.gradle
app/build.gradle
+2
-2
LoginActivity.java
...java/com/phlx/anchorcollect_p/ui/login/LoginActivity.java
+1
-1
No files found.
app/build.gradle
View file @
54a50586
...
...
@@ -9,8 +9,8 @@ android {
applicationId
"com.phlx.anchorcollect_p"
minSdkVersion
21
targetSdkVersion
29
versionCode
8
versionName
"2.0.
2
"
versionCode
9
versionName
"2.0.
3
"
testInstrumentationRunner
"androidx.test.runner.AndroidJUnitRunner"
...
...
app/src/main/java/com/phlx/anchorcollect_p/ui/login/LoginActivity.java
View file @
54a50586
...
...
@@ -108,7 +108,7 @@ public class LoginActivity extends BaseActivity<ActivityLoginBinding, LoginVM> {
viewModel
.
dateEvent
.
observe
(
this
,
new
Observer
<
Integer
>()
{
@Override
public
void
onChanged
(
Integer
integer
)
{
new
MaterialDialog
.
Builder
(
LoginActivity
.
this
).
canceledOnTouchOutside
(
false
).
title
(
"系统提示"
).
content
(
"日期错误,请联网自动获取日期"
).
positiveText
(
"退出"
).
onAny
(
new
MaterialDialog
.
SingleButtonCallback
()
{
new
MaterialDialog
.
Builder
(
LoginActivity
.
this
).
cancel
able
(
false
).
cancel
edOnTouchOutside
(
false
).
title
(
"系统提示"
).
content
(
"日期错误,请联网自动获取日期"
).
positiveText
(
"退出"
).
onAny
(
new
MaterialDialog
.
SingleButtonCallback
()
{
@Override
public
void
onClick
(
@NonNull
MaterialDialog
dialog
,
@NonNull
DialogAction
which
)
{
if
(
which
==
DialogAction
.
POSITIVE
)
{
...
...
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