forked from melod1n/fast-messenger
Refactor: Rename addTextContextMenuComponents to appendTextContextMenuComponents
This commit also updates the Compose BOM version to `2025.06.01`.
This commit is contained in:
+2
-2
@@ -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(
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user