From 97657e9a01e58fd1092bb683c04ad1b1f5908ccd Mon Sep 17 00:00:00 2001 From: Salomon BRYS Date: Mon, 3 Jun 2024 14:07:11 +0200 Subject: [PATCH] removed pesky debug println and updated Lottie --- build.gradle.kts | 2 +- compose-demo/build.gradle.kts | 3 +-- .../src/commonMain/kotlin/org/kodein/emoji/compose/text.kt | 1 - gradle/libs.versions.toml | 2 +- 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 3e1299f..b180de5 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -4,7 +4,7 @@ plugins { allprojects { group = "org.kodein.emoji" - version = "2.0.0" + version = "2.0.1" } allprojects { diff --git a/compose-demo/build.gradle.kts b/compose-demo/build.gradle.kts index 17e1e06..0e19471 100644 --- a/compose-demo/build.gradle.kts +++ b/compose-demo/build.gradle.kts @@ -60,6 +60,5 @@ android { } compose { - desktop.application.mainClass = "MainKt" - experimental.web.application {} + desktop.application.mainClass = "MainDesktopKt" } diff --git a/emoji-compose/src/commonMain/kotlin/org/kodein/emoji/compose/text.kt b/emoji-compose/src/commonMain/kotlin/org/kodein/emoji/compose/text.kt index 6331e61..722de57 100644 --- a/emoji-compose/src/commonMain/kotlin/org/kodein/emoji/compose/text.kt +++ b/emoji-compose/src/commonMain/kotlin/org/kodein/emoji/compose/text.kt @@ -45,7 +45,6 @@ private fun WithNotoEmoji( append(text.subSequence(start, found.start)) else append(text.substring(start, found.start)) - println(found.emoji) val inlineContentID = "emoji:${found.emoji}" inlineContent[inlineContentID] = InlineTextContent(Placeholder(found.emoji.ratio().em, 1.em, PlaceholderVerticalAlign.Center)) { var display: (@Composable () -> Unit)? by remember { mutableStateOf(null) } diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index fa765d6..a9a6218 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,6 +1,6 @@ [versions] android-activityCompose = "1.9.0" -android-lottie = "6.3.0" +android-lottie = "6.4.0" android-svg = "1.4" compose = "1.6.10"