Fix compilation issue after rebase

This commit is contained in:
Benoit Marty 2021-04-29 16:10:52 +02:00
parent 258a378f39
commit c09f7e0d7d
1 changed files with 2 additions and 1 deletions

View File

@ -29,6 +29,7 @@ import im.vector.app.core.dialogs.UnrecognizedCertificateDialog
import im.vector.app.core.extensions.exhaustive
import im.vector.app.core.platform.OnBackPressed
import im.vector.app.core.platform.VectorBaseFragment
import kotlinx.coroutines.CancellationException
import org.matrix.android.sdk.api.failure.Failure
/**
@ -74,7 +75,7 @@ abstract class AbstractLoginFragment2<VB : ViewBinding> : VectorBaseFragment<VB>
}
when (throwable) {
is Failure.Cancelled ->
is CancellationException ->
/* Ignore this error, user has cancelled the action */
Unit
is Failure.UnrecognizedCertificateFailure ->