Code quality

This commit is contained in:
Benoit Marty 2020-02-27 17:42:25 +01:00
parent a914381090
commit 77dd911054

View file

@ -177,7 +177,12 @@ class VerificationBottomSheetViewModel @AssistedInject constructor(
session
.cryptoService()
.verificationService()
.requestKeyVerificationInDMs(supportedVerificationMethodsProvider.provide(), otherUserId, data, pendingLocalId)
.requestKeyVerificationInDMs(
supportedVerificationMethodsProvider.provide(),
otherUserId,
data,
pendingLocalId
)
)
)
}
@ -298,8 +303,6 @@ class VerificationBottomSheetViewModel @AssistedInject constructor(
} catch (failure: Throwable) {
_viewEvents.post(VerificationBottomSheetViewEvents.ModalError(failure.localizedMessage))
}
Unit
}
}.exhaustive
}