Skip to content

Commit

Permalink
Tweak[profile-editor]: sort the installed versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathias-Boulay committed Dec 10, 2023
1 parent af4ae5e commit 5336b80
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ public VersionListAdapter(JMinecraftVersionList.Version[] versionList, boolean h

// Query installed versions
mInstalledVersions = new File(Tools.DIR_GAME_NEW + "/versions").list();
if(mInstalledVersions != null)
Arrays.sort(mInstalledVersions);

if(!areInstalledVersionsAvailable()){
mGroups = new String[]{
ctx.getString(R.string.mcl_setting_veroption_release),
Expand Down

0 comments on commit 5336b80

Please sign in to comment.