Fixing code style issues

This commit is contained in:
Maxime NATUREL 2022-12-07 16:39:51 +01:00
parent 88f7439880
commit 23c2682f8d
2 changed files with 2 additions and 2 deletions

View file

@ -294,7 +294,7 @@ class SessionOverviewFragment :
}
private fun showLearnMoreInfoVerificationStatus(roomEncryptionTrustLevel: RoomEncryptionTrustLevel?) {
val args = when(roomEncryptionTrustLevel) {
val args = when (roomEncryptionTrustLevel) {
null -> {
// encryption not supported
SessionLearnMoreBottomSheet.Args(

View file

@ -26,7 +26,7 @@ class GetEncryptionTrustLevelForDeviceUseCase @Inject constructor(
) {
fun execute(currentSessionCrossSigningInfo: CurrentSessionCrossSigningInfo, cryptoDeviceInfo: CryptoDeviceInfo?): RoomEncryptionTrustLevel? {
if(cryptoDeviceInfo == null) {
if (cryptoDeviceInfo == null) {
return null
}