From 12127d6f25dc0fa8ebae0cf5150e259dd6320cc0 Mon Sep 17 00:00:00 2001 From: inotia00 <108592928+inotia00@users.noreply.github.com> Date: Sun, 6 Oct 2024 18:34:24 +0900 Subject: [PATCH] fix(YouTube/Settings): EditTextDialog's background color does not match when `Theme` patch is excluded https://github.com/inotia00/ReVanced_Extended/issues/2422 --- src/main/resources/youtube/settings/host/values/styles.xml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/main/resources/youtube/settings/host/values/styles.xml b/src/main/resources/youtube/settings/host/values/styles.xml index 29bc424ca3..649d2e7b90 100644 --- a/src/main/resources/youtube/settings/host/values/styles.xml +++ b/src/main/resources/youtube/settings/host/values/styles.xml @@ -5,8 +5,7 @@ 'android:windowBackground' is the background color of the alert dialog. If not overridden, the background color of the parent theme 'android.R.style.ThemeOverlay_Material_Dialog' is used. - 'R.attr.ytBaseBackground' is the background color in YouTube settings. - 'R.color.yt_white1' color is used in light theme, and the 'R.color.yt_black3' color is used in dark theme. + 'R.attr.ytRaisedBackground' is the background color of the YouTube alert dialog. 'android:windowIsTranslucent' makes the dialog window transparent. @@ -19,14 +18,14 @@ -->