Skip to content

Commit

Permalink
[fix] 회원가입 - 지역 입력 공백 예외 처리
Browse files Browse the repository at this point in the history
  • Loading branch information
blueme0 committed Feb 17, 2024
1 parent e67e245 commit c4a50b6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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, "")

Expand Down

0 comments on commit c4a50b6

Please sign in to comment.