Skip to content

Commit

Permalink
Very minor code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ernestoyaquello committed Jan 13, 2022
1 parent 694c88b commit 22aafda
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -810,8 +810,7 @@ private void onConstructed(Context context, AttributeSet attrs, int defStyleAttr

void initializeForm(StepperFormListener listener, StepHelper[] stepsArray) {
this.listener = listener;
this.stepHelpers = Arrays.asList(stepsArray);
this.stepHelpers = new ArrayList<>(stepHelpers);
this.stepHelpers = new ArrayList<>(Arrays.asList(stepsArray));

progressBar.setMax(stepHelpers.size());

Expand Down

0 comments on commit 22aafda

Please sign in to comment.