From e712219f01a670802560511f0cef30b7fa03f231 Mon Sep 17 00:00:00 2001 From: boris Date: Mon, 6 May 2024 14:31:28 +0000 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 8852625819b..d79962556a7 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 @@ -51,7 +51,6 @@ import com.wire.android.util.CustomTabsHelper import com.wire.android.util.capitalizeFirstLetter 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( @@ -125,7 +124,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() }