Skip to content

Commit

Permalink
0.0.50.beta7
Browse files Browse the repository at this point in the history
- 修正一些代码错误;
- 修复部分 API-21 设备上沉浸式不生效的问题;
  • Loading branch information
kongzue committed Jan 16, 2024
1 parent 6971d6c commit 6473a43
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1494,9 +1494,6 @@ public MessageDialog onShow(DialogXRunnable<MessageDialog> dialogXRunnable) {
onShowRunnable = dialogXRunnable;
if (isShow() && onShowRunnable != null) {
onShowRunnable.run(this);
if (isShow() && onShowRunnable != null) {
onShowRunnable.run(this);
}
}
return this;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -511,13 +511,13 @@ public void onClick(View view) {
.onShow(new DialogXRunnable<MessageDialog>() {
@Override
public void run(MessageDialog dialog) {
tip("onshow");
tip("onShow");
}
})
.onDismiss(new DialogXRunnable<MessageDialog>() {
@Override
public void run(MessageDialog dialog) {
tip("dismiss");
tip("onDismiss");
}
})
.setTitleIcon(R.mipmap.img_demo_avatar)
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ android.useAndroidX=true
# Automatically convert third-party libraries to use AndroidX
android.enableJetifier=true

BUILD_VERSION=0.0.50.beta6
BUILD_VERSION=0.0.50.beta7
BUILD_VERSION_INT=49
DIALOGX_STYLE_VERSION=5
android.nonTransitiveRClass=true

0 comments on commit 6473a43

Please sign in to comment.