diff options
author | Scott Jackson <daneren2005@gmail.com> | 2014-09-01 20:00:52 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2014-09-01 20:00:52 -0700 |
commit | 33240c6cd9129bac9ff943ed3a18b125bd4ac1cd (patch) | |
tree | 0653c783789f979e3180e30fddf7dcd49882657d | |
parent | b50afea3fdd093a32d47f82d5b67a87f8d1e59a8 (diff) | |
download | dsub-33240c6cd9129bac9ff943ed3a18b125bd4ac1cd.tar.gz dsub-33240c6cd9129bac9ff943ed3a18b125bd4ac1cd.tar.bz2 dsub-33240c6cd9129bac9ff943ed3a18b125bd4ac1cd.zip |
Update visible entries in setRating
-rw-r--r-- | src/github/daneren2005/dsub/fragments/SubsonicFragment.java | 5 |
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;
}
|