From 2516c2b93b7220f95c0e710cfaeeaef74dce1b4a Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Wed, 5 Mar 2014 19:11:02 -0800 Subject: #297 Screen on/off change to checkbox --- src/github/daneren2005/dsub/fragments/DownloadFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/github/daneren2005/dsub/fragments/DownloadFragment.java b/src/github/daneren2005/dsub/fragments/DownloadFragment.java index 409e6270..0ff53cff 100644 --- a/src/github/daneren2005/dsub/fragments/DownloadFragment.java +++ b/src/github/daneren2005/dsub/fragments/DownloadFragment.java @@ -498,7 +498,7 @@ public class DownloadFragment extends SubsonicFragment implements OnGestureListe } } if(downloadService != null && downloadService.getKeepScreenOn() && nowPlaying) { - menu.findItem(R.id.menu_screen_on_off).setTitle(R.string.download_menu_screen_off); + menu.findItem(R.id.menu_screen_on_off).setChecked(true); } if(downloadService != null) { MenuItem mediaRouteItem = menu.findItem(R.id.menu_mediaroute); -- cgit v1.2.3