From 44ef2f21945df086ffe51ffc079a5a2d6df6b6c4 Mon Sep 17 00:00:00 2001 From: Igor Demin Date: Wed, 1 Dec 2021 15:08:48 +0300 Subject: [PATCH] Update README.md --- tutorials/Keyboard/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/Keyboard/README.md b/tutorials/Keyboard/README.md index e22d940846..94eff905dd 100644 --- a/tutorials/Keyboard/README.md +++ b/tutorials/Keyboard/README.md @@ -78,7 +78,7 @@ Note the annotation `@OptIn(ExperimentalComposeUiApi::class)`. Some keys related ## Window-scoped events -`Window`,`singleWindowApplication` and `Dialog` functions have a `onPreviewKeyEvent` and a `onKeyEvent` properties. It is possible to use them to define keyboard event handlers that are always active in the current window. You possibly want to use `onPreviewKeyEvent` here to intercept events. Here is an example: +`Window`, `singleWindowApplication` and `Dialog` functions have a `onPreviewKeyEvent` and a `onKeyEvent` properties. It is possible to use them to define keyboard event handlers that are always active in the current window. You possibly want to use `onPreviewKeyEvent` here to intercept events. Here is an example: ``` kotlin import androidx.compose.foundation.layout.Arrangement