Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit e5dfcbf4 authored by Rafael Tonholo's avatar Rafael Tonholo
Browse files

chore: improve error message

parent 4e25aebd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -105,7 +105,7 @@ fun Context.resolveColorAttribute(attrId: Int): Int {

    val found = theme.resolveAttribute(attrId, typedValue, true)
    if (!found) {
        error("Couldn't resolve attribute ($attrId)")
        error("Couldn't resolve attribute (${resources.getResourceName(attrId)}")
    }

    return typedValue.data