Push Notification Live Activity Redundancy
Nucleic-Session: 73687ED9-C11C-438C-832B-979332B73893 Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
@@ -303,7 +303,7 @@ extension SessionStatus {
|
||||
}
|
||||
|
||||
extension Risk {
|
||||
var isHigh: Bool { self == .destructive || self == .network || self == .hostExec }
|
||||
// `isHigh` now lives on `Risk` in NucleicProtocol so the host and phone share one definition.
|
||||
var label: String { self == .hostExec ? "host machine" : rawValue }
|
||||
var color: Color {
|
||||
switch self {
|
||||
|
||||
Reference in New Issue
Block a user