Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 45b075dd authored by Adam Powell's avatar Adam Powell
Browse files

Fix a bug where window progress bars had the wrong default visibility

on windows with action bars.

Change-Id: I5509d9a7c5f029b0471bd63e781f4756f5a319bc
parent 7d5178e9
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -300,6 +300,7 @@ public class ActionBarView extends AbsActionBarView {
        mProgressView = new ProgressBar(mContext, null, 0, mProgressStyle);
        mProgressView.setId(R.id.progress_horizontal);
        mProgressView.setMax(10000);
        mProgressView.setVisibility(GONE);
        addView(mProgressView);
    }

@@ -307,6 +308,7 @@ public class ActionBarView extends AbsActionBarView {
        mIndeterminateProgressView = new ProgressBar(mContext, null, 0,
                mIndeterminateProgressStyle);
        mIndeterminateProgressView.setId(R.id.progress_circular);
        mIndeterminateProgressView.setVisibility(GONE);
        addView(mIndeterminateProgressView);
    }