Fixed: Attributes not completed for nested item drawables

This commit is contained in:
Akash Yadav
2022-09-11 16:17:35 +05:30
parent 9f444b0fed
commit babb146e7f
2 changed files with 1 additions and 5 deletions
@@ -43,12 +43,8 @@ internal object DrawableTagTransformer : ITagTransformer {
return "DrawableCorners"
}
if (parent == "item") {
return toEntry(tag)
}
val prefix =
if (parent.isNotEmpty()) {
if (parent == "item" || parent.isNotEmpty()) {
toEntry(parent).run { if (startsWith('#')) toEntry(tag) else this }
} else tag
val suffix =
Binary file not shown.