Skip to content

Commit

Permalink
fix: Display verified E2EI icon other user devices list [WPB-6974] (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
borichellow authored Apr 9, 2024
1 parent ec371a7 commit 8366a0e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ 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 @@ -122,7 +123,8 @@ private fun OtherUserDevicesContent(
isWholeItemClickable = true,
onClickAction = onDeviceClick,
icon = Icons.Filled.ChevronRight.Icon(),
shouldShowVerifyLabel = true
shouldShowVerifyLabel = true,
shouldShowE2EIInfo = item.e2eiCertificateStatus == CertificateStatus.VALID
)
if (index < otherUserDevices.lastIndex) WireDivider()
}
Expand Down

0 comments on commit 8366a0e

Please sign in to comment.