mirror of
https://github.com/element-hq/element-android
synced 2024-11-27 03:48:12 +03:00
Fixing code style issues
This commit is contained in:
parent
88f7439880
commit
23c2682f8d
2 changed files with 2 additions and 2 deletions
|
@ -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(
|
||||
|
|
|
@ -26,7 +26,7 @@ class GetEncryptionTrustLevelForDeviceUseCase @Inject constructor(
|
|||
) {
|
||||
|
||||
fun execute(currentSessionCrossSigningInfo: CurrentSessionCrossSigningInfo, cryptoDeviceInfo: CryptoDeviceInfo?): RoomEncryptionTrustLevel? {
|
||||
if(cryptoDeviceInfo == null) {
|
||||
if (cryptoDeviceInfo == null) {
|
||||
return null
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue