Skip to content

Commit

Permalink
Fix[fabriclike_install]: ensure array readiness before creating adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
artdeell committed Jan 15, 2025
1 parent 5067dba commit 6ed5f7c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ private void updateLoaderVersions() {
}

private void updateLoaderSpinner() {
if(mLoaderVersionArray == null) return;
mLoaderVersionSpinner.setAdapter(createAdapter(mLoaderVersionArray, mOnlyStableCheckbox.isChecked()));
}

Expand Down Expand Up @@ -285,6 +286,7 @@ private void updateGameVersions() {
}

private void updateGameSpinner() {
if(mGameVersionArray == null) return;
mGameVersionSpinner.setAdapter(createAdapter(mGameVersionArray, mOnlyStableCheckbox.isChecked()));
}

Expand Down

0 comments on commit 6ed5f7c

Please sign in to comment.