Permalink
Browse files

Android: Use case insensitive sorting in game list

  • Loading branch information...
JosJuice committed Jun 18, 2018
1 parent 091efcc commit d1a82182ace8fe72518969ea9303f169e16a0e99
@@ -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));
}

0 comments on commit d1a8218

Please sign in to comment.