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?) { private fun showLearnMoreInfoVerificationStatus(roomEncryptionTrustLevel: RoomEncryptionTrustLevel?) {
val args = when(roomEncryptionTrustLevel) { val args = when (roomEncryptionTrustLevel) {
null -> { null -> {
// encryption not supported // encryption not supported
SessionLearnMoreBottomSheet.Args( SessionLearnMoreBottomSheet.Args(

View File

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