From 99dc53fef3cecb2793a7a735fd2488a55d9119b3 Mon Sep 17 00:00:00 2001 From: msasikanth Date: Fri, 15 Sep 2023 12:33:16 +0530 Subject: [PATCH] Disable auto correct for feed link input text field --- .../dev/sasikanth/rss/reader/home/ui/FeedLinkInputField.kt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/shared/src/commonMain/kotlin/dev/sasikanth/rss/reader/home/ui/FeedLinkInputField.kt b/shared/src/commonMain/kotlin/dev/sasikanth/rss/reader/home/ui/FeedLinkInputField.kt index 6893a4958..23202a5c6 100644 --- a/shared/src/commonMain/kotlin/dev/sasikanth/rss/reader/home/ui/FeedLinkInputField.kt +++ b/shared/src/commonMain/kotlin/dev/sasikanth/rss/reader/home/ui/FeedLinkInputField.kt @@ -78,7 +78,12 @@ internal fun FeedLinkInputField( modifier = modifier.requiredHeight(56.dp).fillMaxWidth().focusRequester(focusRequester), value = input, onValueChange = { input = it }, - keyboardOptions = KeyboardOptions(imeAction = ImeAction.Done, keyboardType = KeyboardType.Uri), + keyboardOptions = + KeyboardOptions( + imeAction = ImeAction.Done, + keyboardType = KeyboardType.Uri, + autoCorrect = false + ), keyboardActions = KeyboardActions(onDone = { onAddFeed() }), singleLine = true, textStyle = MaterialTheme.typography.labelLarge,