Fix scaning and updateing error
This commit is contained in:
parent
9dc2da66e1
commit
52dc1d9f22
11 changed files with 215 additions and 260 deletions
|
@ -154,6 +154,10 @@ fun MaterialButton.applyColor(color: Int) {
|
|||
iconTint = textColorColorStateList
|
||||
}
|
||||
|
||||
fun MaterialButton.accentColor(){
|
||||
this.applyColor(ThemeStore.accentColor(context))
|
||||
}
|
||||
|
||||
fun MaterialButton.applyOutlineColor(color: Int) {
|
||||
val textColorColorStateList = ColorStateList.valueOf(color)
|
||||
setTextColor(textColorColorStateList)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue