desktop: enter + shift+enter keybindings (#2787)

This commit is contained in:
Stanislav Dmitrenko
2023-07-27 15:44:35 +03:00
committed by GitHub
parent 976fc68cc3
commit a3cd7ca89e
4 changed files with 36 additions and 8 deletions
@@ -47,7 +47,8 @@ actual fun PlatformTextField(
textStyle: MutableState<TextStyle>,
showDeleteTextButton: MutableState<Boolean>,
userIsObserver: Boolean,
onMessageChange: (String) -> Unit
onMessageChange: (String) -> Unit,
onDone: () -> Unit,
) {
val cs = composeState.value
val textColor = MaterialTheme.colors.onBackground