diff options
-rw-r--r-- | src/github/daneren2005/dsub/fragments/NowPlayingFragment.java | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/github/daneren2005/dsub/fragments/NowPlayingFragment.java b/src/github/daneren2005/dsub/fragments/NowPlayingFragment.java index a957c7f3..67bc245e 100644 --- a/src/github/daneren2005/dsub/fragments/NowPlayingFragment.java +++ b/src/github/daneren2005/dsub/fragments/NowPlayingFragment.java @@ -1407,10 +1407,12 @@ public class NowPlayingFragment extends SubsonicFragment implements OnGestureLis MusicService musicService = MusicServiceFactory.getMusicService(context);
musicService.createBookmark(currentSong, position, comment, context, null);
- Entry find = UpdateView.findEntry(currentSong);
- if(find != null && find != currentSong) {
- find.setBookmark(new Bookmark(position));
- }
+ new EntryInstanceUpdater(currentSong) {
+ @Override
+ public void updater(Entry found) {
+ found.setBookmark(new Bookmark(position));
+ }
+ }.execute();
return null;
}
|