mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-09 00:29:00 +01:00
Fix / crash when generating random key
This commit is contained in:
parent
bd7acfbb1a
commit
e719541b5e
@ -211,6 +211,12 @@ class BootstrapSharedViewModel @AssistedInject constructor(
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
setState {
|
||||||
|
copy(
|
||||||
|
passphrase = null,
|
||||||
|
passphraseRepeat = null
|
||||||
|
)
|
||||||
|
}
|
||||||
startInitializeFlow(action.auth)
|
startInitializeFlow(action.auth)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -438,7 +444,7 @@ class BootstrapSharedViewModel @AssistedInject constructor(
|
|||||||
_viewEvents.post(BootstrapViewEvents.SkipBootstrap())
|
_viewEvents.post(BootstrapViewEvents.SkipBootstrap())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
is BootstrapStep.GetBackupSecretKeyForMigration -> {
|
is BootstrapStep.GetBackupSecretKeyForMigration -> {
|
||||||
// do we let you cancel from here?
|
// do we let you cancel from here?
|
||||||
_viewEvents.post(BootstrapViewEvents.SkipBootstrap())
|
_viewEvents.post(BootstrapViewEvents.SkipBootstrap())
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user