From 726a136e2244895d523d962eb7fc9a0166508a6e Mon Sep 17 00:00:00 2001 From: daneren2005 Date: Tue, 25 Jun 2013 22:44:58 -0600 Subject: Display star when offline as well --- subsonic-android/src/github/daneren2005/dsub/view/SongView.java | 4 ++-- 1 file 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; -- cgit v1.2.3