From b425435f05c7990c7f68dbc2fd8e415abe855ff5 Mon Sep 17 00:00:00 2001 From: boris Date: Mon, 6 May 2024 17:31:15 +0300 Subject: [PATCH] fix: No red shields visible on devices list from other users [WPB-8677] (#2977) --- .../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() }