From cbc30ce17de9f6e2ea4b05ced310390e29d9e5ca Mon Sep 17 00:00:00 2001 From: kunfei Date: Tue, 18 Feb 2020 17:18:33 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/io/legado/app/lib/theme/TintHelper.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/io/legado/app/lib/theme/TintHelper.kt b/app/src/main/java/io/legado/app/lib/theme/TintHelper.kt index f7b52aa61..a54046dd3 100644 --- a/app/src/main/java/io/legado/app/lib/theme/TintHelper.kt +++ b/app/src/main/java/io/legado/app/lib/theme/TintHelper.kt @@ -192,6 +192,7 @@ object TintHelper { } } + @SuppressLint("PrivateResource") fun setTint(radioButton: RadioButton, @ColorInt color: Int, useDarker: Boolean) { val sl = ColorStateList( arrayOf( @@ -290,6 +291,7 @@ object TintHelper { setCursorTint(editText, color) } + @SuppressLint("PrivateResource") fun setTint(box: CheckBox, @ColorInt color: Int, useDarker: Boolean) { val sl = ColorStateList( arrayOf(