Add VerificationState.isUnverified

This commit is contained in:
Alfonso Grillo
2022-11-18 10:50:53 +01:00
parent 02570fbd32
commit a3959fe3d2
4 changed files with 7 additions and 3 deletions
@@ -81,6 +81,10 @@ struct UserSessionInfo: Identifiable {
case verified
/// A session which cannot be never verified due to lack of crypto support
case permanentlyUnverified
var isUnverified: Bool {
self == .unverified || self == .permanentlyUnverified
}
}
}