Skip to content

Commit

Permalink
fix: if 사이 공백 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
EunhoKang committed Nov 16, 2023
1 parent c4dcb57 commit 3372c60
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ class LoginViewModel : ViewModel() {
var state: StateFlow<State> = _state.asStateFlow()

fun setID(s: CharSequence, start: Int, before: Int, count: Int) {
if(_state.value.isLoading) return
if (_state.value.isLoading) return
_state.value = _state.value.copy(email = s.toString())
}

fun setPassword(s: CharSequence, start: Int, before: Int, count: Int) {
if(_state.value.isLoading) return
if (_state.value.isLoading) return
_state.value = _state.value.copy(password = s.toString())
}

Expand Down

0 comments on commit 3372c60

Please sign in to comment.