fixed strange code

This commit is contained in:
gdlbo
2023-07-29 17:06:12 +03:00
parent 021fe66bec
commit a2dd7c1e06
@@ -35,7 +35,7 @@ public class TracklistHelper {
public static JSONArray tracksToIds(List<MusicTrack> tracks, boolean invertList) {
var arr = new JSONArray();
if (!invertList) Collections.shuffle(tracks);
if (!invertList) Collections.reverse(tracks);
for (MusicTrack track : tracks) {
arr.put(track.y1());