From 93d81f1e9ef2c900b8bef4f68f948c012c02f53a Mon Sep 17 00:00:00 2001 From: Danil Nikolaev Date: Wed, 25 Jun 2025 09:36:00 +0300 Subject: [PATCH] Refactor: Rename addTextContextMenuComponents to appendTextContextMenuComponents This commit also updates the Compose BOM version to `2025.06.01`. --- .../messageshistory/presentation/MessagesHistoryInputBar.kt | 4 ++-- gradle/libs.versions.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/feature/messageshistory/src/main/kotlin/dev/meloda/fast/messageshistory/presentation/MessagesHistoryInputBar.kt b/feature/messageshistory/src/main/kotlin/dev/meloda/fast/messageshistory/presentation/MessagesHistoryInputBar.kt index 11c0d30a..5bce8600 100644 --- a/feature/messageshistory/src/main/kotlin/dev/meloda/fast/messageshistory/presentation/MessagesHistoryInputBar.kt +++ b/feature/messageshistory/src/main/kotlin/dev/meloda/fast/messageshistory/presentation/MessagesHistoryInputBar.kt @@ -20,7 +20,7 @@ import androidx.compose.foundation.layout.padding import androidx.compose.foundation.layout.width import androidx.compose.foundation.shape.RoundedCornerShape import androidx.compose.foundation.text.contextmenu.builder.item -import androidx.compose.foundation.text.contextmenu.modifier.addTextContextMenuComponents +import androidx.compose.foundation.text.contextmenu.modifier.appendTextContextMenuComponents import androidx.compose.material3.Icon import androidx.compose.material3.MaterialTheme import androidx.compose.material3.Text @@ -183,7 +183,7 @@ fun MessagesHistoryInputBar( TextField( modifier = Modifier .weight(1f) - .addTextContextMenuComponents { + .appendTextContextMenuComponents { separator() item( diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 21975187..c09725b0 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -6,7 +6,7 @@ haze = "1.6.4" kotlin = "2.2.0" ksp = "2.2.0-2.0.2" -compose-bom = "2025.06.00" +compose-bom = "2025.06.01" koin = "4.1.0" accompanist = "0.37.3"