mirror of
https://github.com/gedoor/legado.git
synced 2024-09-01 09:34:25 +08:00
优化
This commit is contained in:
parent
3cf798b132
commit
91c790976e
@ -1,3 +1,5 @@
|
||||
@file:Suppress("unused")
|
||||
|
||||
package io.legado.app.utils
|
||||
|
||||
import android.content.res.ColorStateList
|
||||
@ -32,7 +34,7 @@ object DrawableUtils {
|
||||
|
||||
}
|
||||
|
||||
fun Drawable.setTintList(
|
||||
fun Drawable.setTintListMutate(
|
||||
tint: ColorStateList,
|
||||
tintMode: PorterDuff.Mode = PorterDuff.Mode.SRC_ATOP
|
||||
) {
|
||||
|
Loading…
Reference in New Issue
Block a user