mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 16:10:00 +00:00
Ensure that sessionVerifiedStatus is updated when the crypto is ready.
If we do not do that the FTUE state stays on WaitingForInitialState and user is stuck on a blank screen.
This commit is contained in:
+3
@@ -266,6 +266,9 @@ class RustSessionVerificationService(
|
|||||||
if (!isInitialized.get()) {
|
if (!isInitialized.get()) {
|
||||||
encryptionService.waitForE2eeInitializationTasks()
|
encryptionService.waitForE2eeInitializationTasks()
|
||||||
isInitialized.set(true)
|
isInitialized.set(true)
|
||||||
|
// Also update the state, because update may have been ignored by VerificationStateListener.onUpdate
|
||||||
|
// If we do not do that the FTUE is stuck on blank screen.
|
||||||
|
updateVerificationStatus()
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!this::verificationController.isInitialized) {
|
if (!this::verificationController.isInitialized) {
|
||||||
|
|||||||
Reference in New Issue
Block a user