Fix / Green shield in conclusion title when verified from private keys
This commit is contained in:
parent
94d36e0c85
commit
bf23094158
@ -135,7 +135,9 @@ class VerificationBottomSheet : VectorBaseBottomSheetDialogFragment() {
|
|||||||
}
|
}
|
||||||
state.otherUserMxItem?.let { matrixItem ->
|
state.otherUserMxItem?.let { matrixItem ->
|
||||||
if (state.isMe) {
|
if (state.isMe) {
|
||||||
if (state.sasTransactionState == VerificationTxState.Verified || state.qrTransactionState == VerificationTxState.Verified) {
|
if (state.sasTransactionState == VerificationTxState.Verified
|
||||||
|
|| state.qrTransactionState == VerificationTxState.Verified
|
||||||
|
|| state.verifiedFromPrivateKeys) {
|
||||||
otherUserAvatarImageView.setImageResource(R.drawable.ic_shield_trusted)
|
otherUserAvatarImageView.setImageResource(R.drawable.ic_shield_trusted)
|
||||||
} else {
|
} else {
|
||||||
otherUserAvatarImageView.setImageResource(R.drawable.ic_shield_warning)
|
otherUserAvatarImageView.setImageResource(R.drawable.ic_shield_warning)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user