From e877990252f0ebb6e5f915fdffc573e6a82caaa6 Mon Sep 17 00:00:00 2001 From: AleIlMagno <123492061+AleIlMagno@users.noreply.github.com> Date: Mon, 1 Jul 2024 12:27:07 +0200 Subject: [PATCH] UI Fix ContactFormScreen Current UI has a bug This mistake seems to be the reason --- .../mailcontact/presentation/contactform/ContactFormScreen.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail-contact/presentation/src/main/kotlin/ch/protonmail/android/mailcontact/presentation/contactform/ContactFormScreen.kt b/mail-contact/presentation/src/main/kotlin/ch/protonmail/android/mailcontact/presentation/contactform/ContactFormScreen.kt index bfc4535b7..1d859f39a 100644 --- a/mail-contact/presentation/src/main/kotlin/ch/protonmail/android/mailcontact/presentation/contactform/ContactFormScreen.kt +++ b/mail-contact/presentation/src/main/kotlin/ch/protonmail/android/mailcontact/presentation/contactform/ContactFormScreen.kt @@ -340,7 +340,7 @@ private fun LazyListScope.addressSection(state: ContactFormState.Data, actions: hint = stringResource(R.string.address_region), keyboardOptions = keyboardOptions ) { - actions.onUpdateItem(Section.Addresses, address.fieldId, address.copy(city = it)) + actions.onUpdateItem(Section.Addresses, address.fieldId, address.copy(region = it)) } InputField( value = address.country,