Push Notification Live Activity Redundancy

Nucleic-Session: 73687ED9-C11C-438C-832B-979332B73893
Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
2026-07-06 21:29:35 -07:00
co-authored by Nucleic
parent 9dc21cac8c
commit ece9ab538c
@@ -303,7 +303,7 @@ extension SessionStatus {
} }
extension Risk { 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 label: String { self == .hostExec ? "host machine" : rawValue }
var color: Color { var color: Color {
switch self { switch self {