From 5e337228528fb2de5629d65d050e57fe2fd12af9 Mon Sep 17 00:00:00 2001 From: dasha Date: Tue, 26 Dec 2023 18:50:11 +0400 Subject: [PATCH] =?UTF-8?q?=D0=B8=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=B2=D1=85=D0=BE=D0=B4=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../database/entities/composeui/UserProfileViewModel.kt | 1 + 1 file changed, 1 insertion(+) 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") }