dep | Adapt rust-sdk, rename PreviouslyVerified to VerificationViolation

This commit is contained in:
Valere 2024-10-04 12:37:33 +02:00
parent cafc04b740
commit 2230163bbe
3 changed files with 7 additions and 7 deletions

View file

@ -164,7 +164,7 @@ private fun ShieldState?.map(): MessageShield? {
ShieldStateCode.UNSIGNED_DEVICE -> MessageShield.UnsignedDevice(isCritical)
ShieldStateCode.UNVERIFIED_IDENTITY -> MessageShield.UnverifiedIdentity(isCritical)
ShieldStateCode.SENT_IN_CLEAR -> MessageShield.SentInClear(isCritical)
ShieldStateCode.PREVIOUSLY_VERIFIED -> MessageShield.PreviouslyVerified(isCritical)
ShieldStateCode.VERIFICATION_VIOLATION -> MessageShield.VerificationViolation(isCritical)
}
}