Prevent blinking spinner

This commit is contained in:
M66B
2021-03-22 08:41:49 +01:00
parent 31505e06f0
commit 2d5e45a7a1

View File

@@ -53,7 +53,7 @@ public class ContentLoadingProgressBar extends ProgressBar {
this.visibility = visibility;
if (visibility == VISIBLE) {
if (delaying)
if (delaying || super.getVisibility() == VISIBLE)
return;
delaying = true;
super.setVisibility(INVISIBLE);