From a84305ed25e0a37d0575851d97179cad9ed38722 Mon Sep 17 00:00:00 2001
From: Brayan Oliveira <69634269+BrayanDSO@users.noreply.github.com>
Date: Sun, 10 Jul 2022 11:36:04 -0300
Subject: [PATCH] Fix preferences textColorSecondary
---
AnkiDroid/src/main/res/color/prefs_item_dark_secondary.xml | 5 +++++
AnkiDroid/src/main/res/color/prefs_item_light_secondary.xml | 5 +++++
AnkiDroid/src/main/res/values/theme_black.xml | 2 +-
AnkiDroid/src/main/res/values/theme_dark.xml | 2 +-
AnkiDroid/src/main/res/values/theme_light.xml | 5 ++---
AnkiDroid/src/main/res/values/theme_plain.xml | 2 +-
6 files changed, 15 insertions(+), 6 deletions(-)
create mode 100644 AnkiDroid/src/main/res/color/prefs_item_dark_secondary.xml
create mode 100644 AnkiDroid/src/main/res/color/prefs_item_light_secondary.xml
diff --git a/AnkiDroid/src/main/res/color/prefs_item_dark_secondary.xml b/AnkiDroid/src/main/res/color/prefs_item_dark_secondary.xml
new file mode 100644
index 000000000000..861c2417e33a
--- /dev/null
+++ b/AnkiDroid/src/main/res/color/prefs_item_dark_secondary.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/AnkiDroid/src/main/res/color/prefs_item_light_secondary.xml b/AnkiDroid/src/main/res/color/prefs_item_light_secondary.xml
new file mode 100644
index 000000000000..5cb1aed7c41f
--- /dev/null
+++ b/AnkiDroid/src/main/res/color/prefs_item_light_secondary.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/AnkiDroid/src/main/res/values/theme_black.xml b/AnkiDroid/src/main/res/values/theme_black.xml
index 6c18bb84fcfe..7974876a4680 100644
--- a/AnkiDroid/src/main/res/values/theme_black.xml
+++ b/AnkiDroid/src/main/res/values/theme_black.xml
@@ -132,7 +132,7 @@
- true
- false
- @color/prefs_item_dark
- - @color/prefs_item_dark
+ - @color/prefs_item_dark_secondary
diff --git a/AnkiDroid/src/main/res/values/theme_dark.xml b/AnkiDroid/src/main/res/values/theme_dark.xml
index 2161d958bb6f..77051cd1a34c 100644
--- a/AnkiDroid/src/main/res/values/theme_dark.xml
+++ b/AnkiDroid/src/main/res/values/theme_dark.xml
@@ -141,7 +141,7 @@
- true
- false
- @color/prefs_item_dark
- - @color/prefs_item_dark
+ - @color/prefs_item_dark_secondary
diff --git a/AnkiDroid/src/main/res/values/theme_light.xml b/AnkiDroid/src/main/res/values/theme_light.xml
index 023c1f70f19a..a9db0caae4ba 100644
--- a/AnkiDroid/src/main/res/values/theme_light.xml
+++ b/AnkiDroid/src/main/res/values/theme_light.xml
@@ -17,7 +17,7 @@ APIs. It's visible when there aren't enough decks to fill the screen.
@color/material_light_blue_100
@color/material_blue_grey_700
@color/black
- #de000000
+ @color/material_grey_700
#ececec
#E8E8E8
#DE000000
@@ -135,7 +135,6 @@ APIs. It's visible when there aren't enough decks to fill the screen.
- @color/material_light_blue_500
- @android:color/white
- ?android:attr/textColor
-
- @color/material_grey_500
@@ -154,7 +153,7 @@ APIs. It's visible when there aren't enough decks to fill the screen.
- true
- false
- @color/prefs_item_light
- - @color/prefs_item_light
+ - @color/prefs_item_light_secondary
diff --git a/AnkiDroid/src/main/res/values/theme_plain.xml b/AnkiDroid/src/main/res/values/theme_plain.xml
index a1b9e18ddd43..a0aeea3a1106 100644
--- a/AnkiDroid/src/main/res/values/theme_plain.xml
+++ b/AnkiDroid/src/main/res/values/theme_plain.xml
@@ -70,7 +70,7 @@
- true
- false
- @color/prefs_item_light
- - @color/prefs_item_light
+ - @color/prefs_item_light_secondary