fix: sort playlist catalog view (#368)

fix: sorts playlist catalog view
This commit is contained in:
eddyizm 2026-01-18 08:54:25 -08:00 committed by GitHub
parent c0c84269ef
commit 75513d3bd4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View file

@ -156,10 +156,10 @@ public class PlaylistCatalogueFragment extends Fragment implements ClickCallback
popup.setOnMenuItemClickListener(menuItem -> {
if (menuItem.getItemId() == R.id.menu_playlist_sort_name) {
playlistHorizontalAdapter.sort(Constants.GENRE_ORDER_BY_NAME);
playlistHorizontalAdapter.sort(Constants.PLAYLIST_ORDER_BY_NAME);
return true;
} else if (menuItem.getItemId() == R.id.menu_playlist_sort_random) {
playlistHorizontalAdapter.sort(Constants.GENRE_ORDER_BY_RANDOM);
playlistHorizontalAdapter.sort(Constants.PLAYLIST_ORDER_BY_RANDOM);
return true;
}