aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/src/github
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2013-01-03 19:02:50 -0800
committerScott Jackson <daneren2005@gmail.com>2013-01-03 19:02:50 -0800
commit2687e6127c4864ea002f8153b875e3be587aaf04 (patch)
treeb0a6ed49a7d65f25470a90f9198a380fa9bcc5cd /subsonic-android/src/github
parent1accc7b28e6feb9a833b56abf665e3e3e5afeef1 (diff)
downloaddsub-2687e6127c4864ea002f8153b875e3be587aaf04.tar.gz
dsub-2687e6127c4864ea002f8153b875e3be587aaf04.tar.bz2
dsub-2687e6127c4864ea002f8153b875e3be587aaf04.zip
Added screen on/off menu in download tab while offline
Diffstat (limited to 'subsonic-android/src/github')
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/activity/DownloadActivity.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/activity/DownloadActivity.java b/subsonic-android/src/github/daneren2005/dsub/activity/DownloadActivity.java
index f035d3d2..ec50b09f 100644
--- a/subsonic-android/src/github/daneren2005/dsub/activity/DownloadActivity.java
+++ b/subsonic-android/src/github/daneren2005/dsub/activity/DownloadActivity.java
@@ -543,9 +543,9 @@ public class DownloadActivity extends SubsonicTabActivity implements OnGestureLi
if(getDownloadService() != null && getDownloadService().getSleepTimer()) {
menu.findItem(R.id.menu_toggle_timer).setTitle(R.string.download_stop_timer);
}
- if(getDownloadService() != null && getDownloadService().getKeepScreenOn()) {
- menu.findItem(R.id.menu_screen_on_off).setTitle(R.string.download_menu_screen_off);
- }
+ }
+ if(getDownloadService() != null && getDownloadService().getKeepScreenOn()) {
+ menu.findItem(R.id.menu_screen_on_off).setTitle(R.string.download_menu_screen_off);
}
return true;
}