Update: Replace old icons with material icons

This commit is contained in:
LooKeR
2021-10-25 10:09:18 +05:30
parent b0e0d7dc3a
commit 07e032268f
25 changed files with 114 additions and 172 deletions

View File

@ -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 {