Browse Source

Fixed bug where progress bar didn't fade out always

master
Anthony Restaino 10 years ago
parent
commit
32f4a457bb
  1. 5
      src/acr/browser/lightning/AnimatedProgressBar.java

5
src/acr/browser/lightning/AnimatedProgressBar.java

@ -126,9 +126,10 @@ public class AnimatedProgressBar extends LinearLayout { @@ -126,9 +126,10 @@ public class AnimatedProgressBar extends LinearLayout {
// previous progress
mDrawWidth = 0;
} else if (progress == mProgress) { // we don't need to go any farther if the progress is unchanged
if (progress == 100) {
fadeOut();
}
return;
}
mProgress = progress; // save the progress

Loading…
Cancel
Save