aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/github/daneren2005/dsub/fragments/DownloadFragment.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/github/daneren2005/dsub/fragments/DownloadFragment.java b/src/github/daneren2005/dsub/fragments/DownloadFragment.java
index 28679d2b..41096b9a 100644
--- a/src/github/daneren2005/dsub/fragments/DownloadFragment.java
+++ b/src/github/daneren2005/dsub/fragments/DownloadFragment.java
@@ -813,6 +813,12 @@ public class DownloadFragment extends SubsonicFragment implements OnGestureListe
boolean jukeboxEnabled = getDownloadService() != null && getDownloadService().isRemoteEnabled();
jukeboxButton.setTextColor(jukeboxEnabled ? COLOR_BUTTON_ENABLED : COLOR_BUTTON_DISABLED);
+
+ if(Util.isOffline) {
+ bookmarkButton.setVisibility(View.GONE);
+ } else {
+ bookmarkButton.setVisibility(View.VISIBLE);
+ }
}
// Scroll to current playing/downloading.