Updated on 2026-08-14

This commit is contained in:
Tangem 2019-11-26 13:12:25 +03:00
parent 3724f920de
commit 0035d8d115
6 changed files with 83 additions and 5 deletions

View file

@ -0,0 +1,7 @@
package com.tangem.util.extensions
import android.content.Context
import androidx.annotation.ColorRes
import androidx.core.content.ContextCompat
fun Context.colorFrom(@ColorRes colorId: Int) = ContextCompat.getColor(this, colorId)