We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c79657 commit 3c6e212Copy full SHA for 3c6e212
core/src/main/kotlin/eu/iamgio/pikt/properties/ColorsProperty.kt
@@ -58,7 +58,7 @@ data class ColorsProperty(val colors: List<String>) {
58
return keys
59
.filter { it.toString().startsWith(prefix) }
60
.associate {
61
- it.toString().substring(it.toString().lastIndexOf(prefix) + prefix.length) to get(it.toString())
+ it.toString().substring(it.toString().lastIndexOf(".") + 1) to get(it.toString())
62
}
63
64
0 commit comments