Fix inconsistencies
This commit is contained in:
parent
dbe09a9ac2
commit
608cf6d3da
2 changed files with 4 additions and 3 deletions
|
@ -15,6 +15,7 @@ fun PasswordInput(
|
|||
onPasswordChange: (String) -> Unit,
|
||||
modifier: Modifier = Modifier,
|
||||
password: String = "",
|
||||
isRequired: Boolean = false,
|
||||
errorMessage: String? = null,
|
||||
contentPadding: PaddingValues = inputContentPadding(),
|
||||
) {
|
||||
|
@ -27,6 +28,7 @@ fun PasswordInput(
|
|||
value = password,
|
||||
onValueChange = onPasswordChange,
|
||||
label = stringResource(id = R.string.designsystem_molecule_password_input_label),
|
||||
isRequired = isRequired,
|
||||
hasError = errorMessage != null,
|
||||
modifier = Modifier.fillMaxWidth(),
|
||||
)
|
||||
|
|
|
@ -17,7 +17,6 @@ import app.k9mail.core.ui.compose.designsystem.template.ResponsiveWidthContainer
|
|||
import app.k9mail.core.ui.compose.theme.K9Theme
|
||||
import app.k9mail.core.ui.compose.theme.MainTheme
|
||||
import app.k9mail.core.ui.compose.theme.ThunderbirdTheme
|
||||
import app.k9mail.feature.account.setup.ui.outgoing.AccountOutgoingConfigContent
|
||||
|
||||
@Composable
|
||||
internal fun AccountIncomingConfigContent(
|
||||
|
@ -49,7 +48,7 @@ internal fun AccountIncomingConfigContent(
|
|||
@DevicePreviews
|
||||
internal fun AccountIncomingConfigContentK9Preview() {
|
||||
K9Theme {
|
||||
AccountOutgoingConfigContent(
|
||||
AccountIncomingConfigContent(
|
||||
contentPadding = PaddingValues(),
|
||||
)
|
||||
}
|
||||
|
@ -59,7 +58,7 @@ internal fun AccountIncomingConfigContentK9Preview() {
|
|||
@DevicePreviews
|
||||
internal fun AccountIncomingConfigContentThunderbirdPreview() {
|
||||
ThunderbirdTheme {
|
||||
AccountOutgoingConfigContent(
|
||||
AccountIncomingConfigContent(
|
||||
contentPadding = PaddingValues(),
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue