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(