Skip to content

Commit

Permalink
fix: Display verified E2EI icon other user devices list
Browse files Browse the repository at this point in the history
  • Loading branch information
borichellow committed Apr 5, 2024
1 parent d67bf85 commit b53bd46
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 b53bd46

Please sign in to comment.