aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2023-01-08 21:35:08 -0600
committerIván Ávalos <avalos@disroot.org>2023-01-08 21:35:08 -0600
commite04df2757e76a7c8dde158c1ca78d12ae796ba62 (patch)
tree91184169199c09371e0536487cde2968638a779c
parentf8bb8af96cd311805ef584f2cc34e98b6dbb1844 (diff)
downloaddsub-e04df2757e76a7c8dde158c1ca78d12ae796ba62.tar.gz
dsub-e04df2757e76a7c8dde158c1ca78d12ae796ba62.tar.bz2
dsub-e04df2757e76a7c8dde158c1ca78d12ae796ba62.zip
Removed holo theme. It now defaults to dark.
-rw-r--r--app/src/main/java/github/daneren2005/dsub/util/ThemeUtil.java6
-rw-r--r--app/src/main/res/values/arrays.xml2
2 files changed, 3 insertions, 5 deletions
diff --git a/app/src/main/java/github/daneren2005/dsub/util/ThemeUtil.java b/app/src/main/java/github/daneren2005/dsub/util/ThemeUtil.java
index 7de4f928..e69383ac 100644
--- a/app/src/main/java/github/daneren2005/dsub/util/ThemeUtil.java
+++ b/app/src/main/java/github/daneren2005/dsub/util/ThemeUtil.java
@@ -66,7 +66,7 @@ public final class ThemeUtil {
} else if (THEME_BLACK.equals(theme)) {
return R.style.Theme_DSub_Black_No_Actionbar;
} else if (THEME_HOLO.equals(theme)) {
- return R.style.Theme_DSub_Holo_No_Actionbar;
+ return R.style.Theme_DSub_Dark_No_Actionbar;
} else {
return R.style.Theme_DSub_Light_No_Actionbar;
}
@@ -76,7 +76,7 @@ public final class ThemeUtil {
} else if (THEME_BLACK.equals(theme)) {
return R.style.Theme_DSub_Black_No_Color;
} else if (THEME_HOLO.equals(theme)) {
- return R.style.Theme_DSub_Holo_No_Color;
+ return R.style.Theme_DSub_Dark_No_Color;
} else {
return R.style.Theme_DSub_Light_No_Color;
}
@@ -87,7 +87,7 @@ public final class ThemeUtil {
} else if (THEME_BLACK.equals(theme)) {
return R.style.Theme_DSub_Black;
} else if (THEME_HOLO.equals(theme)) {
- return R.style.Theme_DSub_Holo;
+ return R.style.Theme_DSub_Dark;
} else {
return R.style.Theme_DSub_Light;
}
diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml
index 118ccc80..95052c61 100644
--- a/app/src/main/res/values/arrays.xml
+++ b/app/src/main/res/values/arrays.xml
@@ -26,7 +26,6 @@
<item>light</item>
<item>dark</item>
<item>black</item>
- <item>holo</item>
<item>day/night</item>
<item>day/black</item>
</string-array>
@@ -35,7 +34,6 @@
<item>@string/settings.theme_light</item>
<item>@string/settings.theme_dark</item>
<item>@string/settings.theme_black</item>
- <item>@string/settings.theme_holo</item>
<item>@string/settings.theme_day_night</item>
<item>@string/settings.theme_day_black_night</item>
</string-array>