Skip to content

Commit

Permalink
✅Modify LoginViewModelTest
Browse files Browse the repository at this point in the history
  • Loading branch information
89645321 committed Nov 3, 2023
1 parent db57638 commit 5baf2bb
Show file tree
Hide file tree
Showing 2 changed files with 203 additions and 131 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.example.speechbuddy.viewmodel

import android.util.Log
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.setValue
Expand Down Expand Up @@ -126,7 +125,6 @@ class LoginViewModel @Inject internal constructor(
}
} else if (it.message?.contains("email", ignoreCase = true) == true
) { // email is wrong
Log.d("email", "email")
_uiState.update { currentState ->
currentState.copy(
isValidEmail = false,
Expand Down
Loading

0 comments on commit 5baf2bb

Please sign in to comment.