Skip to content

Commit

Permalink
Fix compilation issue after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
bmarty committed Apr 29, 2021
1 parent 258a378 commit c09f7e0
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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

/**
Expand Down Expand Up @@ -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 ->
Expand Down

0 comments on commit c09f7e0

Please sign in to comment.