Skip to content

Commit

Permalink
Merge pull request #7131 from JosJuice/android-case-insensitive-sort
Browse files Browse the repository at this point in the history
Android: Use case insensitive sorting in game list
  • Loading branch information
degasus committed Jun 21, 2018
2 parents 3816e82 + d1a8218 commit 235a01c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -118,7 +118,7 @@ protected void onHandleIntent(Intent intent)
private void updateGameFileArray()
{
GameFile[] gameFilesTemp = gameFileCache.getAllGames();
Arrays.sort(gameFilesTemp, (lhs, rhs) -> lhs.getTitle().compareTo(rhs.getTitle()));
Arrays.sort(gameFilesTemp, (lhs, rhs) -> lhs.getTitle().compareToIgnoreCase(rhs.getTitle()));
gameFiles.set(gameFilesTemp);
LocalBroadcastManager.getInstance(this).sendBroadcast(new Intent(BROADCAST_ACTION));
}
Expand Down

0 comments on commit 235a01c

Please sign in to comment.