Fixing code style issues
This commit is contained in:
parent
88f7439880
commit
23c2682f8d
@ -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(
|
||||||
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user