Skip to content

Commit

Permalink
Merge pull request #736 from icerockdev/develop
Browse files Browse the repository at this point in the history
Release 0.24.1
  • Loading branch information
Alex009 authored Jun 20, 2024
2 parents 907e04a + 85c16af commit 5def4b4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ buildscript {
}
dependencies {
classpath "dev.icerock.moko:resources-generator:0.24.0"
classpath "dev.icerock.moko:resources-generator:0.24.1"
}
}
Expand All @@ -82,10 +82,10 @@ project build.gradle
apply plugin: "dev.icerock.mobile.multiplatform-resources"
dependencies {
commonMainApi("dev.icerock.moko:resources:0.24.0")
commonMainApi("dev.icerock.moko:resources-compose:0.24.0") // for compose multiplatform
commonMainApi("dev.icerock.moko:resources:0.24.1")
commonMainApi("dev.icerock.moko:resources-compose:0.24.1") // for compose multiplatform
commonTestImplementation("dev.icerock.moko:resources-test:0.24.0")
commonTestImplementation("dev.icerock.moko:resources-test:0.24.1")
}
multiplatformResources {
Expand Down Expand Up @@ -132,7 +132,7 @@ should [add `export` declarations](https://kotlinlang.org/docs/multiplatform-bui

```
framework {
export("dev.icerock.moko:resources:0.24.0")
export("dev.icerock.moko:resources:0.24.1")
export("dev.icerock.moko:graphics:0.9.0") // toUIColor here
}
```
Expand Down
2 changes: 1 addition & 1 deletion gradle/moko.versions.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[versions]
resourcesVersion = "0.24.0"
resourcesVersion = "0.24.1"

[libraries]
resources = { module = "dev.icerock.moko:resources", version.ref = "resourcesVersion" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ internal fun String.convertXmlStringToAndroidLocalization(): String {
.replace("\n", "\\n")
.let { StringEscapeUtils.escapeXml11(it) }
.let {
if (it[0] == '@') {
if (it.getOrNull(0) == '@') {
replaceFirst("@", """\@""")
} else {
it
Expand Down

0 comments on commit 5def4b4

Please sign in to comment.