show both progressbars when canUseProgress

This commit is contained in:
Andrew Dolgov 2013-05-15 13:06:03 +04:00
parent cbe2c78f96
commit eb217dc85d

View File

@ -152,10 +152,10 @@ public class OnlineActivity extends CommonActivity {
if (canUseProgress()) { if (canUseProgress()) {
requestWindowFeature(Window.FEATURE_PROGRESS); requestWindowFeature(Window.FEATURE_PROGRESS);
} else {
requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);
} }
requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);
setProgressBarVisibility(false); setProgressBarVisibility(false);
setProgressBarIndeterminateVisibility(false); setProgressBarIndeterminateVisibility(false);