aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;