mirror of
https://github.com/element-hq/element-android
synced 2024-11-24 02:15:35 +03:00
No warning when cancelling the Reset of 4s
This commit is contained in:
parent
18950a6b46
commit
ee56307ccc
1 changed files with 7 additions and 1 deletions
|
@ -528,7 +528,13 @@ class BootstrapSharedViewModel @AssistedInject constructor(
|
|||
}
|
||||
BootstrapStep.CheckingMigration -> Unit
|
||||
is BootstrapStep.FirstForm -> {
|
||||
_viewEvents.post(BootstrapViewEvents.SkipBootstrap())
|
||||
_viewEvents.post(
|
||||
when (args.setUpMode) {
|
||||
SetupMode.CROSS_SIGNING_ONLY,
|
||||
SetupMode.NORMAL -> BootstrapViewEvents.SkipBootstrap()
|
||||
else -> BootstrapViewEvents.Dismiss(success = false)
|
||||
}
|
||||
)
|
||||
}
|
||||
is BootstrapStep.GetBackupSecretForMigration -> {
|
||||
setState {
|
||||
|
|
Loading…
Reference in a new issue