Skip to content

Commit

Permalink
feat : 검색창의 공백도 유효성 검사에 통과하지 않도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
m6z1 committed Feb 5, 2024
1 parent a53ce01 commit 768d6cf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ class SearchViewModel : BaseViewModel() {
val searchValidation: LiveData<Boolean> = _searchValidation

fun validateSearchContent() {
_searchValidation.value = !_searchContent.value.isNullOrBlank()
_searchValidation.value = !_searchContent.value.isNullOrEmpty()
}
}

0 comments on commit 768d6cf

Please sign in to comment.