diff --git a/feature/account/server/settings/src/main/kotlin/app/k9mail/feature/account/server/settings/ui/incoming/IncomingServerSettingsContent.kt b/feature/account/server/settings/src/main/kotlin/app/k9mail/feature/account/server/settings/ui/incoming/IncomingServerSettingsContent.kt index 447e6beb404..50568a61f12 100644 --- a/feature/account/server/settings/src/main/kotlin/app/k9mail/feature/account/server/settings/ui/incoming/IncomingServerSettingsContent.kt +++ b/feature/account/server/settings/src/main/kotlin/app/k9mail/feature/account/server/settings/ui/incoming/IncomingServerSettingsContent.kt @@ -130,6 +130,7 @@ internal fun IncomingServerSettingsContent( password = state.password.value, errorMessage = state.password.error?.toResourceString(resources), onPasswordChange = { onEvent(Event.PasswordChanged(it)) }, + checkRevealPasswordPermission = { true }, contentPadding = defaultItemPadding(), ) } diff --git a/feature/account/server/settings/src/main/kotlin/app/k9mail/feature/account/server/settings/ui/outgoing/OutgoingServerSettingsContent.kt b/feature/account/server/settings/src/main/kotlin/app/k9mail/feature/account/server/settings/ui/outgoing/OutgoingServerSettingsContent.kt index 61a07cc54a6..c23694f03a7 100644 --- a/feature/account/server/settings/src/main/kotlin/app/k9mail/feature/account/server/settings/ui/outgoing/OutgoingServerSettingsContent.kt +++ b/feature/account/server/settings/src/main/kotlin/app/k9mail/feature/account/server/settings/ui/outgoing/OutgoingServerSettingsContent.kt @@ -124,6 +124,7 @@ internal fun OutgoingServerSettingsContent( password = state.password.value, errorMessage = state.password.error?.toResourceString(resources), onPasswordChange = { onEvent(Event.PasswordChanged(it)) }, + checkRevealPasswordPermission = { true }, isRequired = true, contentPadding = defaultItemPadding(), ) diff --git a/feature/account/setup/src/main/kotlin/app/k9mail/feature/account/setup/ui/autodiscovery/item/PasswordItem.kt b/feature/account/setup/src/main/kotlin/app/k9mail/feature/account/setup/ui/autodiscovery/item/PasswordItem.kt index 2b5447989cf..8358aecbc71 100644 --- a/feature/account/setup/src/main/kotlin/app/k9mail/feature/account/setup/ui/autodiscovery/item/PasswordItem.kt +++ b/feature/account/setup/src/main/kotlin/app/k9mail/feature/account/setup/ui/autodiscovery/item/PasswordItem.kt @@ -26,6 +26,7 @@ internal fun LazyItemScope.PasswordItem( password = password, errorMessage = error?.toResourceString(resources), onPasswordChange = onPasswordChange, + checkRevealPasswordPermission = { true }, contentPadding = PaddingValues(), ) }