aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/src
diff options
context:
space:
mode:
authordaneren2005 <daneren2005@gmail.com>2013-01-08 17:31:01 -0800
committerdaneren2005 <daneren2005@gmail.com>2013-01-08 17:31:01 -0800
commitc154f934673efed17a1e33ca179025df81fc9663 (patch)
tree3a4ade50b7dc4085cb0d8b285454b641c1a0e49a /subsonic-android/src
parent2554e7d93e9f182c8c7e89bfc66efb16f462885a (diff)
parent82b57da94195d7b1dac7e6f7aaf9c615ed4e1335 (diff)
downloaddsub-c154f934673efed17a1e33ca179025df81fc9663.tar.gz
dsub-c154f934673efed17a1e33ca179025df81fc9663.tar.bz2
dsub-c154f934673efed17a1e33ca179025df81fc9663.zip
Merge pull request #86 from hedwig34/fork
Changed media buttons from white to dark when using a light theme.
Diffstat (limited to 'subsonic-android/src')
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/activity/DownloadActivity.java6
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/activity/SubsonicTabActivity.java2
2 files changed, 6 insertions, 2 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/activity/DownloadActivity.java b/subsonic-android/src/github/daneren2005/dsub/activity/DownloadActivity.java
index ec50b09f..3ad70134 100644
--- a/subsonic-android/src/github/daneren2005/dsub/activity/DownloadActivity.java
+++ b/subsonic-android/src/github/daneren2005/dsub/activity/DownloadActivity.java
@@ -791,7 +791,11 @@ public class DownloadActivity extends SubsonicTabActivity implements OnGestureLi
switch (downloadService.getRepeatMode()) {
case OFF:
- repeatButton.setImageResource(R.drawable.media_repeat_off);
+ if("light".equals(theme) | "light_fullscreen".equals(theme)) {
+ repeatButton.setImageResource(R.drawable.media_repeat_off_light);
+ } else {
+ repeatButton.setImageResource(R.drawable.media_repeat_off);
+ }
break;
case ALL:
repeatButton.setImageResource(R.drawable.media_repeat_all);
diff --git a/subsonic-android/src/github/daneren2005/dsub/activity/SubsonicTabActivity.java b/subsonic-android/src/github/daneren2005/dsub/activity/SubsonicTabActivity.java
index cc986d2d..75c03be0 100644
--- a/subsonic-android/src/github/daneren2005/dsub/activity/SubsonicTabActivity.java
+++ b/subsonic-android/src/github/daneren2005/dsub/activity/SubsonicTabActivity.java
@@ -58,7 +58,7 @@ public class SubsonicTabActivity extends SherlockActivity {
private static final String TAG = SubsonicTabActivity.class.getSimpleName();
private static ImageLoader IMAGE_LOADER;
- private String theme;
+ protected static String theme;
private boolean destroyed;
private View homeButton;