mirror of https://github.com/M66B/FairEmail.git
Prevent blinking spinner
This commit is contained in:
parent
31505e06f0
commit
2d5e45a7a1
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue