Skip to content

Commit

Permalink
Disable auto correct for feed link input text field
Browse files Browse the repository at this point in the history
  • Loading branch information
msasikanth committed Sep 15, 2023
1 parent 3764cfb commit 99dc53f
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 99dc53f

Please sign in to comment.