From 2687e6127c4864ea002f8153b875e3be587aaf04 Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Thu, 3 Jan 2013 19:02:50 -0800 Subject: Added screen on/off menu in download tab while offline --- .../src/github/daneren2005/dsub/activity/DownloadActivity.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'subsonic-android/src/github') 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; } -- cgit v1.2.3