Fix preference icon tint
This commit is contained in:
parent
e4a4874edc
commit
3d08f790fe
2 changed files with 9 additions and 1 deletions
|
@ -1,9 +1,11 @@
|
|||
package code.name.monkey.appthemehelper.common.prefs.supportv7
|
||||
|
||||
import android.content.Context
|
||||
import android.graphics.PorterDuff
|
||||
import android.util.AttributeSet
|
||||
import androidx.preference.Preference
|
||||
import code.name.monkey.appthemehelper.R
|
||||
import code.name.monkey.appthemehelper.ThemeStore
|
||||
|
||||
/**
|
||||
* @author Aidan Follestad (afollestad)
|
||||
|
@ -29,5 +31,6 @@ class ATEPreference : Preference {
|
|||
|
||||
private fun init() {
|
||||
layoutResource = R.layout.ate_preference_custom_support
|
||||
icon?.setColorFilter(ThemeStore.textColorSecondary(context), PorterDuff.Mode.SRC_IN)
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue