Skip to content

Commit

Permalink
fix: No red shields visible on devices list from other users [WPB-867…
Browse files Browse the repository at this point in the history
…7] (#2977)
  • Loading branch information
borichellow authored May 6, 2024
1 parent c184481 commit b425435
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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()
}
Expand Down

0 comments on commit b425435

Please sign in to comment.