aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android
diff options
context:
space:
mode:
authordaneren2005 <daneren2005@gmail.com>2013-06-25 22:44:58 -0600
committerdaneren2005 <daneren2005@gmail.com>2013-06-25 22:44:58 -0600
commit726a136e2244895d523d962eb7fc9a0166508a6e (patch)
tree54064eb8e85a130b8edbbefd08cc54f34fe4b449 /subsonic-android
parent1304148bfa16de5172aeb484230791a102f68694 (diff)
downloaddsub-726a136e2244895d523d962eb7fc9a0166508a6e.tar.gz
dsub-726a136e2244895d523d962eb7fc9a0166508a6e.tar.bz2
dsub-726a136e2244895d523d962eb7fc9a0166508a6e.zip
Display star when offline as well
Diffstat (limited to 'subsonic-android')
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/view/SongView.java4
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 b4ec2f19..b5141371 100644
--- a/subsonic-android/src/github/daneren2005/dsub/view/SongView.java
+++ b/subsonic-android/src/github/daneren2005/dsub/view/SongView.java
@@ -104,7 +104,7 @@ public class SongView extends UpdateView implements Checkable {
artistTextView.setText(artist);
durationTextView.setText(Util.formatDuration(song.getDuration()));
checkedTextView.setVisibility(checkable && !song.isVideo() ? View.VISIBLE : View.GONE);
- starButton.setVisibility((Util.isOffline(getContext()) || !song.isStarred()) ? View.GONE : View.VISIBLE);
+ starButton.setVisibility(!song.isStarred() ? View.GONE : View.VISIBLE);
starButton.setFocusable(false);
moreButton = (ImageView) findViewById(R.id.artist_more);
@@ -136,7 +136,7 @@ public class SongView extends UpdateView implements Checkable {
return;
}
- starButton.setVisibility((Util.isOffline(getContext()) || !song.isStarred()) ? View.GONE : View.VISIBLE);
+ starButton.setVisibility(!song.isStarred() ? View.GONE : View.VISIBLE);
File partialFile = downloadFile.getPartialFile();
int leftImage = 0;