Cleanup code.

This commit is contained in:
Benoit Marty 2025-02-18 13:42:56 +01:00
parent 20bac66dd4
commit 53e55b690e
2 changed files with 16 additions and 15 deletions

View file

@ -32,3 +32,5 @@ enum class IdentityState {
*/
VerificationViolation,
}
fun IdentityState.isAViolation() = this == IdentityState.PinViolation || this == IdentityState.VerificationViolation