Skip to content

Commit

Permalink
Change consumers as the new default is to not reveal the password
Browse files Browse the repository at this point in the history
  • Loading branch information
wmontwe committed Sep 27, 2023
1 parent dd7aaf2 commit f54557e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ internal fun LazyItemScope.PasswordItem(
password = password,
errorMessage = error?.toResourceString(resources),
onPasswordChange = onPasswordChange,
checkRevealPasswordPermission = { true },
contentPadding = PaddingValues(),
)
}
Expand Down

0 comments on commit f54557e

Please sign in to comment.