aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2014-09-01 20:00:52 -0700
committerScott Jackson <daneren2005@gmail.com>2014-09-01 20:00:52 -0700
commit33240c6cd9129bac9ff943ed3a18b125bd4ac1cd (patch)
tree0653c783789f979e3180e30fddf7dcd49882657d
parentb50afea3fdd093a32d47f82d5b67a87f8d1e59a8 (diff)
downloaddsub-33240c6cd9129bac9ff943ed3a18b125bd4ac1cd.tar.gz
dsub-33240c6cd9129bac9ff943ed3a18b125bd4ac1cd.tar.bz2
dsub-33240c6cd9129bac9ff943ed3a18b125bd4ac1cd.zip
Update visible entries in setRating
-rw-r--r--src/github/daneren2005/dsub/fragments/SubsonicFragment.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/github/daneren2005/dsub/fragments/SubsonicFragment.java b/src/github/daneren2005/dsub/fragments/SubsonicFragment.java
index 1cf58bfe..5fa4956d 100644
--- a/src/github/daneren2005/dsub/fragments/SubsonicFragment.java
+++ b/src/github/daneren2005/dsub/fragments/SubsonicFragment.java
@@ -1503,6 +1503,11 @@ public class SubsonicFragment extends Fragment implements SwipeRefreshLayout.OnR
musicService.setRating(entry, rating, context, null);
entry.setRating(rating);
+
+ Entry findEntry = UpdateView.findEntry(entry);
+ if(findEntry != null) {
+ findEntry.setRating(rating);
+ }
return null;
}