Skip to content

Commit 3c6e212

Browse files
committed
Fix "unresolved reference: std" error on compile
1 parent 0c79657 commit 3c6e212

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/kotlin/eu/iamgio/pikt/properties/ColorsProperty.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ data class ColorsProperty(val colors: List<String>) {
5858
return keys
5959
.filter { it.toString().startsWith(prefix) }
6060
.associate {
61-
it.toString().substring(it.toString().lastIndexOf(prefix) + prefix.length) to get(it.toString())
61+
it.toString().substring(it.toString().lastIndexOf(".") + 1) to get(it.toString())
6262
}
6363
}
6464
}

0 commit comments

Comments
 (0)