mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-02-03 07:53:37 +00:00
Removed unused resources
This commit is contained in:
@@ -137,10 +137,10 @@ public class AlbumRepository {
|
||||
});
|
||||
}
|
||||
|
||||
public void setRating(String id, int star) {
|
||||
public void setRating(String id, int rating) {
|
||||
App.getSubsonicClientInstance(application, false)
|
||||
.getMediaAnnotationClient()
|
||||
.setRating(id, star)
|
||||
.setRating(id, rating)
|
||||
.enqueue(new Callback<SubsonicResponse>() {
|
||||
@Override
|
||||
public void onResponse(Call<SubsonicResponse> call, Response<SubsonicResponse> response) {
|
||||
|
||||
@@ -188,10 +188,10 @@ public class ArtistRepository {
|
||||
});
|
||||
}
|
||||
|
||||
public void setRating(String id, int star) {
|
||||
public void setRating(String id, int rating) {
|
||||
App.getSubsonicClientInstance(application, false)
|
||||
.getMediaAnnotationClient()
|
||||
.setRating(id, star)
|
||||
.setRating(id, rating)
|
||||
.enqueue(new Callback<SubsonicResponse>() {
|
||||
@Override
|
||||
public void onResponse(Call<SubsonicResponse> call, Response<SubsonicResponse> response) {
|
||||
|
||||
@@ -154,10 +154,10 @@ public class SongRepository {
|
||||
});
|
||||
}
|
||||
|
||||
public void setRating(String id, int star) {
|
||||
public void setRating(String id, int rating) {
|
||||
App.getSubsonicClientInstance(application, false)
|
||||
.getMediaAnnotationClient()
|
||||
.setRating(id, star)
|
||||
.setRating(id, rating)
|
||||
.enqueue(new Callback<SubsonicResponse>() {
|
||||
@Override
|
||||
public void onResponse(Call<SubsonicResponse> call, Response<SubsonicResponse> response) {
|
||||
|
||||
Reference in New Issue
Block a user