Skip to content

Commit

Permalink
0.0.43.beta1
Browse files Browse the repository at this point in the history
  • Loading branch information
kongzue committed Aug 10, 2021
1 parent 0274ec6 commit 3f1a14b
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -614,8 +614,11 @@ public void doDismiss(View v) {
bkgAlpha.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() {
@Override
public void onAnimationUpdate(ValueAnimator animation) {
float value = (float) animation.getAnimatedValue();
boxRoot.setBkgAlpha(value);
if (boxRoot != null) {
float value = (float) animation.getAnimatedValue();
boxRoot.setBkgAlpha(value);
if (value == 0) boxRoot.setVisibility(View.GONE);
}
}
});
bkgAlpha.start();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -330,8 +330,11 @@ public void onAnimationRepeat(Animation animation) {
bkgAlpha.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() {
@Override
public void onAnimationUpdate(ValueAnimator animation) {
float value = (float) animation.getAnimatedValue();
boxRoot.setBkgAlpha(value);
if (boxRoot != null) {
float value = (float) animation.getAnimatedValue();
boxRoot.setBkgAlpha(value);
if (value == 0) boxRoot.setVisibility(View.GONE);
}
}
});
bkgAlpha.start();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -285,8 +285,11 @@ public void doDismiss(View v) {
bkgAlpha.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() {
@Override
public void onAnimationUpdate(ValueAnimator animation) {
float value = (float) animation.getAnimatedValue();
boxRoot.setBkgAlpha(value);
if (boxRoot != null) {
float value = (float) animation.getAnimatedValue();
boxRoot.setBkgAlpha(value);
if (value == 0) boxRoot.setVisibility(View.GONE);
}
}
});
bkgAlpha.start();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -684,8 +684,11 @@ public void doDismiss(View v) {
bkgAlpha.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() {
@Override
public void onAnimationUpdate(ValueAnimator animation) {
float value = (float) animation.getAnimatedValue();
boxRoot.setBkgAlpha(value);
if (boxRoot != null) {
float value = (float) animation.getAnimatedValue();
boxRoot.setBkgAlpha(value);
if (value == 0) boxRoot.setVisibility(View.GONE);
}
}
});
bkgAlpha.start();
Expand All @@ -695,7 +698,7 @@ public void onAnimationUpdate(ValueAnimator animation) {
public void run() {
dismiss(dialogView);
}
}, exitAnimDuration == -1 ? exitAnim.getDuration() : exitAnimDuration);
}, exitAnimDurationTemp);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -485,8 +485,11 @@ public void run() {
bkgAlpha.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() {
@Override
public void onAnimationUpdate(ValueAnimator animation) {
float value = (float) animation.getAnimatedValue();
boxRoot.setBkgAlpha(value);
if (boxRoot != null) {
float value = (float) animation.getAnimatedValue();
boxRoot.setBkgAlpha(value);
if (value == 0) boxRoot.setVisibility(View.GONE);
}
}
});
bkgAlpha.start();
Expand Down
Binary file modified app/release/app-release.apk
Binary file not shown.
4 changes: 2 additions & 2 deletions app/release/output-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
{
"type": "SINGLE",
"filters": [],
"versionCode": 40,
"versionName": "0.0.41.beta14",
"versionCode": 42,
"versionName": "0.0.42",
"outputFile": "app-release.apk"
}
]
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ android.useAndroidX=true
# Automatically convert third-party libraries to use AndroidX
android.enableJetifier=true

BUILD_VERSION=0.0.42
BUILD_VERSION=0.0.43.beta1
BUILD_VERSION_INT=42

0 comments on commit 3f1a14b

Please sign in to comment.