From 9a59f0cdffd7902740267c9ad8d202b0238e186f Mon Sep 17 00:00:00 2001 From: Andrew Blakeslee Moore Date: Sun, 5 Jul 2026 01:55:56 -0700 Subject: [PATCH] Sessions Integration Feature Nucleic-Session: FC94353F-9F0D-4BCC-AD7C-0FB14E38C2E5 Co-authored-by: Nucleic --- NucleicRemote/NucleicRemote/Models/RemoteStore.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/NucleicRemote/NucleicRemote/Models/RemoteStore.swift b/NucleicRemote/NucleicRemote/Models/RemoteStore.swift index 9aa8d83..e05c020 100644 --- a/NucleicRemote/NucleicRemote/Models/RemoteStore.swift +++ b/NucleicRemote/NucleicRemote/Models/RemoteStore.swift @@ -1195,8 +1195,7 @@ extension DashboardSnapshot { /// usage taken from the first Mac that reports it (a user's Macs share one account, so their /// windows match — summing would double-count), and provider status feeds unioned by provider /// (provider status is global, not per-Mac). - static func merged(_ snapshots: some Collection) -> DashboardSnapshot { - let snaps = Array(snapshots) + static func merged(_ snaps: [DashboardSnapshot]) -> DashboardSnapshot { guard snaps.count != 1 else { return snaps[0] } guard !snaps.isEmpty else { return .empty }