From 289a5e2e55dd2772fb3ce551582c892f13fef23d Mon Sep 17 00:00:00 2001 From: Antoine Robiez Date: Tue, 2 Apr 2024 18:38:52 +0200 Subject: [PATCH] Fix a crash on about screen on iOS (#236) --- .../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