From 3ea181d7fcb1b7cfd6473b458e59e2325664d38b Mon Sep 17 00:00:00 2001 From: MohamedRejeb Date: Sun, 10 Mar 2024 22:55:56 +0100 Subject: [PATCH 1/2] Fix build error --- .../kotlin/com/mohamedrejeb/richeditor/model/RichTextState.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/richeditor-compose/src/commonMain/kotlin/com/mohamedrejeb/richeditor/model/RichTextState.kt b/richeditor-compose/src/commonMain/kotlin/com/mohamedrejeb/richeditor/model/RichTextState.kt index 47367c43..a453e507 100644 --- a/richeditor-compose/src/commonMain/kotlin/com/mohamedrejeb/richeditor/model/RichTextState.kt +++ b/richeditor-compose/src/commonMain/kotlin/com/mohamedrejeb/richeditor/model/RichTextState.kt @@ -701,7 +701,7 @@ class RichTextState internal constructor( } styledRichSpanList.clear() - textFieldValue = newTextFieldValue.copy(text = annotatedString.te) + textFieldValue = newTextFieldValue.copy(text = annotatedString.text) visualTransformation = VisualTransformation { _ -> TransformedText( annotatedString, From 09f8fac9d786a243a48e3bbd3e21789611b43a09 Mon Sep 17 00:00:00 2001 From: MohamedRejeb Date: Sun, 10 Mar 2024 22:58:16 +0100 Subject: [PATCH 2/2] Update voyager to 1.1.0-alpha03 --- gradle/libs.versions.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index dcf7433f..3c4a7622 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -12,7 +12,7 @@ nexus-publish = "2.0.0-rc-1" # For sample compose-compiler = "1.5.4" activity-compose = "1.8.2" -voyager = "1.0.0" +voyager = "1.1.0-alpha03" richeditor = "1.0.0-rc01" android-minSdk = "21" android-compileSdk = "34"