Skip to content

Commit

Permalink
fix: album tracks sorting after editing tags
Browse files Browse the repository at this point in the history
  • Loading branch information
MSOB7YY committed Oct 18, 2023
1 parent e85cd60 commit 7ccd697
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/controller/indexer_controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ class Indexer {
addedAlbums
..removeDuplicates()
..loop((e, index) {
mainMapAlbums.value[e]?.sortByAlt((e) => e.year, (e) => e.title);
mainMapAlbums.value[e]?.sortByAlts((e) => e.year, [(e) => e.trackNo, (e) => e.title]);
});
addedArtists
..removeDuplicates()
Expand Down

0 comments on commit 7ccd697

Please sign in to comment.