Refactor: Rename addTextContextMenuComponents to appendTextContextMenuComponents

This commit also updates the Compose BOM version to `2025.06.01`.
This commit is contained in:
2025-06-25 09:36:00 +03:00
parent 5be101deec
commit 93d81f1e9e
2 changed files with 3 additions and 3 deletions
@@ -20,7 +20,7 @@ import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.width import androidx.compose.foundation.layout.width
import androidx.compose.foundation.shape.RoundedCornerShape import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.foundation.text.contextmenu.builder.item 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.Icon
import androidx.compose.material3.MaterialTheme import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Text import androidx.compose.material3.Text
@@ -183,7 +183,7 @@ fun MessagesHistoryInputBar(
TextField( TextField(
modifier = Modifier modifier = Modifier
.weight(1f) .weight(1f)
.addTextContextMenuComponents { .appendTextContextMenuComponents {
separator() separator()
item( item(
+1 -1
View File
@@ -6,7 +6,7 @@ haze = "1.6.4"
kotlin = "2.2.0" kotlin = "2.2.0"
ksp = "2.2.0-2.0.2" ksp = "2.2.0-2.0.2"
compose-bom = "2025.06.00" compose-bom = "2025.06.01"
koin = "4.1.0" koin = "4.1.0"
accompanist = "0.37.3" accompanist = "0.37.3"