Skip to content

Commit

Permalink
More feedback improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Pururun committed Jun 5, 2024
1 parent df0c9a0 commit 5331e53
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ class EditApiAccessMethodViewModel(
}

private fun setUpInitialData(accessMethod: ApiAccessMethod) {
with(
val initialFormData =
when (val customProxy = accessMethod.apiAccessMethodType) {
ApiAccessMethodType.Bridges,
ApiAccessMethodType.Direct ->
Expand All @@ -179,7 +179,7 @@ class EditApiAccessMethodViewModel(
password = customProxy.auth?.password ?: ""
)
}
) {
with(initialFormData) {
formData.value = this
initialData = this
}
Expand Down

0 comments on commit 5331e53

Please sign in to comment.