mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Finalise strings/icons for EncryptionAuthenticity. (#3121)
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user