From 115972d2e6f34bdeaa4b3c7c903a401fb20e630d Mon Sep 17 00:00:00 2001 From: Antoine Robiez Date: Tue, 2 Apr 2024 13:53:08 +0200 Subject: [PATCH] Fix a crash on about screen on iOS --- .../commonMain/kotlin/com/androidmakers/ui/about/AboutScreen.kt | 2 +- shared/ui/src/commonMain/moko-resources/base/strings.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/shared/ui/src/commonMain/kotlin/com/androidmakers/ui/about/AboutScreen.kt b/shared/ui/src/commonMain/kotlin/com/androidmakers/ui/about/AboutScreen.kt index 753bb9cb..38474dff 100644 --- a/shared/ui/src/commonMain/kotlin/com/androidmakers/ui/about/AboutScreen.kt +++ b/shared/ui/src/commonMain/kotlin/com/androidmakers/ui/about/AboutScreen.kt @@ -61,7 +61,7 @@ fun AboutScreen( text = stringResource( MR.strings.version, versionName, - versionCode.toInt() + versionCode ), ) } diff --git a/shared/ui/src/commonMain/moko-resources/base/strings.xml b/shared/ui/src/commonMain/moko-resources/base/strings.xml index 245e2acf..3e19a17f 100644 --- a/shared/ui/src/commonMain/moko-resources/base/strings.xml +++ b/shared/ui/src/commonMain/moko-resources/base/strings.xml @@ -3,7 +3,7 @@ Android Makers by droidcon - Version %s (%d) + Version %s (%s) Agenda Venue