mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2026-05-19 15:34:39 -04:00
Fix[fabriclike_install]: ensure array readiness before creating adapter
This commit is contained in:
@@ -239,6 +239,7 @@ public abstract class FabriclikeInstallFragment extends Fragment implements Modl
|
||||
}
|
||||
|
||||
private void updateLoaderSpinner() {
|
||||
if(mLoaderVersionArray == null) return;
|
||||
mLoaderVersionSpinner.setAdapter(createAdapter(mLoaderVersionArray, mOnlyStableCheckbox.isChecked()));
|
||||
}
|
||||
|
||||
@@ -285,6 +286,7 @@ public abstract class FabriclikeInstallFragment extends Fragment implements Modl
|
||||
}
|
||||
|
||||
private void updateGameSpinner() {
|
||||
if(mGameVersionArray == null) return;
|
||||
mGameVersionSpinner.setAdapter(createAdapter(mGameVersionArray, mOnlyStableCheckbox.isChecked()));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user