diff --git a/app/src/main/java/com/example/myapplication/database/entities/composeui/UserProfileViewModel.kt b/app/src/main/java/com/example/myapplication/database/entities/composeui/UserProfileViewModel.kt index 5612dfe..37baf6a 100644 --- a/app/src/main/java/com/example/myapplication/database/entities/composeui/UserProfileViewModel.kt +++ b/app/src/main/java/com/example/myapplication/database/entities/composeui/UserProfileViewModel.kt @@ -35,6 +35,7 @@ class UserProfileViewModel( if (overlap == null || userUiState.details.password != overlap.password) { errorId = R.string.err_04 } else { + dataStoreManager.setLogin("") dataStoreManager.setLogin(userUiState.details.login) Log.d("UserProfileViewModel", "sign in success") }