mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-06-14 11:29:18 +00:00
Update: Replace old icons with material icons
This commit is contained in:
@ -42,11 +42,7 @@ object Utils {
|
||||
}
|
||||
|
||||
fun getToolbarIcon(context: Context, resId: Int): Drawable {
|
||||
val drawable = context.getDrawableCompat(resId).mutate()
|
||||
if (Android.sdk(23)) {
|
||||
drawable.setTintList(context.getColorFromAttr(R.attr.colorOnPrimarySurface))
|
||||
}
|
||||
return drawable
|
||||
return context.getDrawableCompat(resId).mutate()
|
||||
}
|
||||
|
||||
fun calculateHash(signature: Signature): String {
|
||||
|
Reference in New Issue
Block a user