From fb465600d844c653683ddc7674de6dc791034b67 Mon Sep 17 00:00:00 2001 From: Andrew Blakeslee Moore Date: Tue, 7 Jul 2026 03:00:06 -0700 Subject: [PATCH] Live Activity Session Retention Nucleic-Session: F2CCC9F2-A7BA-4A94-ADAA-5414F168045E Co-authored-by: Nucleic --- NucleicRemote/NucleicRemote/LiveActivityManager.swift | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/NucleicRemote/NucleicRemote/LiveActivityManager.swift b/NucleicRemote/NucleicRemote/LiveActivityManager.swift index 703b405..ae2c422 100644 --- a/NucleicRemote/NucleicRemote/LiveActivityManager.swift +++ b/NucleicRemote/NucleicRemote/LiveActivityManager.swift @@ -98,10 +98,9 @@ final class LiveActivityManager { finishWithDoneGlance(hostName: hostName, live: live) return } - // Work is active again — abort any pending "Done" dismissal so the glance doesn't clear - // out from under a run that just resumed (or a new one that just started). - dismissTask?.cancel() - dismissTask = nil + // Work is active again — drop any held "Done" glance so the fresh active state renders + // instead of the finished summary (a run just resumed, or a new one started). + showingDoneGlance = false // Everything in flight or waiting on the user, attention-first (approvals, then waiting // input, then running), freshest within a rank. This is both the detail-row source and