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 and github-actions[bot] committed May 6, 2024
1 parent 70de7c6 commit e712219
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 e712219

Please sign in to comment.