Finalise strings/icons for EncryptionAuthenticity. (#3121)

This commit is contained in:
Doug
2024-08-06 15:03:11 +01:00
committed by GitHub
parent 08347e15a5
commit e2712f6b0a
20 changed files with 47 additions and 30 deletions
@@ -57,10 +57,10 @@ enum EncryptionAuthenticity: Hashable {
}
var icon: KeyPath<CompoundIcons, Image> {
// TODO: Should sentInClear have a dedicated icon???
switch color {
case .red: \.error
case .gray: \.info
switch self {
case .notGuaranteed: \.info
case .unknownDevice, .unsignedDevice, .unverifiedIdentity: \.helpSolid
case .sentInClear: \.lockOff
}
}
}