use overloads instead of new methods

This commit is contained in:
observer 2025-11-09 22:01:33 +00:00
parent efaae35976
commit 1bc93cce0e
No known key found for this signature in database
GPG key ID: 2DE1FE56348E60D0
3 changed files with 5 additions and 6 deletions

View file

@ -105,7 +105,7 @@ public class SongRepository {
App.getSubsonicClientInstance(false)
.getAlbumSongListClient()
.getRandomSongs2(number, fromYear, toYear, genre)
.getRandomSongs(number, fromYear, toYear, genre)
.enqueue(new Callback<ApiResponse>() {
@Override
public void onResponse(@NonNull Call<ApiResponse> call, @NonNull Response<ApiResponse> response) {