mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-22 01:15:54 +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