diff --git a/app/src/main/java/com/teumteum/teumteum/presentation/signup/SignUpViewModel.kt b/app/src/main/java/com/teumteum/teumteum/presentation/signup/SignUpViewModel.kt index b6890ef2..b355438d 100644 --- a/app/src/main/java/com/teumteum/teumteum/presentation/signup/SignUpViewModel.kt +++ b/app/src/main/java/com/teumteum/teumteum/presentation/signup/SignUpViewModel.kt @@ -156,7 +156,7 @@ class SignUpViewModel @Inject constructor( preferredStreet ) { preferredCity, preferredStreet -> if (preferredStreet.isNotBlank() && preferredCity.isNotBlank()) - "$preferredCity $preferredStreet" + "${preferredCity.trim()} ${preferredStreet.trim()}" else "" }.stateIn(scope = viewModelScope, SharingStarted.Eagerly, "")