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] πŸ’ (#2979)

Co-authored-by: boris <[email protected]>
  • Loading branch information
github-actions[bot] and borichellow authored May 15, 2024
1 parent 1c93e47 commit 6c94bc3
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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()
}
Expand Down

0 comments on commit 6c94bc3

Please sign in to comment.