mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-08 05:47:05 +09:00
DROID-2816 Onboarding | Fix | Do not disabled login button after login request failure (#2049)
This commit is contained in:
parent
f5f8f7df4d
commit
b4c49dd773
1 changed files with 2 additions and 1 deletions
|
@ -83,7 +83,8 @@ class OnboardingMnemonicLoginViewModel @Inject constructor(
|
|||
}
|
||||
|
||||
fun onLoginClicked(chain: String) {
|
||||
if (state.value is SetupState.Idle) {
|
||||
Timber.d("onLoginClicked")
|
||||
if (state.value !is SetupState.InProgress) {
|
||||
proceedWithRecoveringWallet(chain.trim())
|
||||
viewModelScope.sendAnalyticsOnboardingLoginEvent(
|
||||
analytics = analytics,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue