diff options
author | Scott Jackson <daneren2005@gmail.com> | 2012-10-10 19:57:33 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2012-10-10 19:57:33 -0700 |
commit | a193480c28d2ae6d5f36eeb226d79a7b08b398bb (patch) | |
tree | b01ade07a2ce2935d43e4cda303d235aca51a57f /subsonic-android/src/github | |
parent | b5336ebd78acf6c5ed2bc9cc47a6525083443b83 (diff) | |
download | dsub-a193480c28d2ae6d5f36eeb226d79a7b08b398bb.tar.gz dsub-a193480c28d2ae6d5f36eeb226d79a7b08b398bb.tar.bz2 dsub-a193480c28d2ae6d5f36eeb226d79a7b08b398bb.zip |
Fixed cross-tab star updating
Diffstat (limited to 'subsonic-android/src/github')
-rw-r--r-- | subsonic-android/src/github/daneren2005/dsub/view/SongView.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/view/SongView.java b/subsonic-android/src/github/daneren2005/dsub/view/SongView.java index 13f88a3e..9e69bb49 100644 --- a/subsonic-android/src/github/daneren2005/dsub/view/SongView.java +++ b/subsonic-android/src/github/daneren2005/dsub/view/SongView.java @@ -96,6 +96,7 @@ public class SongView extends UpdateView implements Checkable { @Override protected void update() { + starButton.setVisibility((Util.isOffline(getContext()) || !song.isStarred()) ? View.GONE : View.VISIBLE); DownloadService downloadService = DownloadServiceImpl.getInstance(); if (downloadService == null) { return; @@ -125,8 +126,7 @@ public class SongView extends UpdateView implements Checkable { titleTextView.setCompoundDrawablesWithIntrinsicBounds(R.drawable.stat_notify_playing, 0, 0, 0); } else { titleTextView.setCompoundDrawablesWithIntrinsicBounds(0, 0, 0, 0); - } - starButton.setVisibility((Util.isOffline(getContext()) || !song.isStarred()) ? View.GONE : View.VISIBLE); + } } @Override |