Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernhard Franke-Polz committed Nov 23, 2023
1 parent 456922c commit 63465f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,7 @@ internal fun LazyListScope.incomingFormItems(
onTextChange = { onEvent(Event.ServerChanged(it)) },
label = stringResource(id = R.string.account_server_settings_server_label),
contentPadding = defaultItemPadding(),
keyboardOptions = KeyboardOptions(
autoCorrect = false,
),
keyboardOptions = KeyboardOptions(autoCorrect = false),
)
}

Expand Down Expand Up @@ -99,9 +97,7 @@ internal fun LazyListScope.incomingFormItems(
onTextChange = { onEvent(Event.UsernameChanged(it)) },
label = stringResource(id = R.string.account_server_settings_username_label),
contentPadding = defaultItemPadding(),
keyboardOptions = KeyboardOptions.Default.copy(
autoCorrect = false,
),
keyboardOptions = KeyboardOptions(autoCorrect = false),
)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@ internal fun LazyListScope.outgoingFormItems(
label = stringResource(id = R.string.account_server_settings_server_label),
isRequired = true,
contentPadding = defaultItemPadding(),
keyboardOptions = KeyboardOptions(
autoCorrect = false,
),
keyboardOptions = KeyboardOptions(autoCorrect = false),
)
}

Expand Down Expand Up @@ -91,9 +89,7 @@ internal fun LazyListScope.outgoingFormItems(
label = stringResource(id = R.string.account_server_settings_username_label),
isRequired = true,
contentPadding = defaultItemPadding(),
keyboardOptions = KeyboardOptions.Default.copy(
autoCorrect = false,
),
keyboardOptions = KeyboardOptions(autoCorrect = false),
)
}
}
Expand Down

0 comments on commit 63465f6

Please sign in to comment.