From dee1408e8a4e5c4aca808ce45b94cedb177f2a8b Mon Sep 17 00:00:00 2001 From: Boris Safonov Date: Mon, 6 May 2024 16:18:39 +0300 Subject: [PATCH] fix: No red shields visible on devices list from other users --- .../android/ui/userprofile/other/OtherUserDevicesScreen.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/kotlin/com/wire/android/ui/userprofile/other/OtherUserDevicesScreen.kt b/app/src/main/kotlin/com/wire/android/ui/userprofile/other/OtherUserDevicesScreen.kt index ffe69c37d60..bc219253d2c 100644 --- a/app/src/main/kotlin/com/wire/android/ui/userprofile/other/OtherUserDevicesScreen.kt +++ b/app/src/main/kotlin/com/wire/android/ui/userprofile/other/OtherUserDevicesScreen.kt @@ -50,7 +50,6 @@ import com.wire.android.ui.theme.wireTypography import com.wire.android.util.CustomTabsHelper import com.wire.android.util.ui.LinkText import com.wire.android.util.ui.LinkTextData -import com.wire.kalium.logic.feature.e2ei.CertificateStatus @Composable fun OtherUserDevicesScreen( @@ -124,7 +123,7 @@ private fun OtherUserDevicesContent( onClickAction = onDeviceClick, icon = Icons.Filled.ChevronRight.Icon(), shouldShowVerifyLabel = true, - shouldShowE2EIInfo = item.e2eiCertificateStatus == CertificateStatus.VALID + shouldShowE2EIInfo = item.e2eiCertificateStatus != null ) if (index < otherUserDevices.lastIndex) WireDivider() }