From 654111799606a80c6c3514012a3872ff4bfe0073 Mon Sep 17 00:00:00 2001 From: Abdulaziz Albahar <67667005+azooz2003-bit@users.noreply.github.com> Date: Wed, 29 Jul 2026 18:11:31 -0700 Subject: [PATCH] Fix CmuxMobileShellUI build: missing Bool return in verified-replay cancellation guard --- .../Sources/CmuxMobileShellUI/GhosttySurfaceRepresentable.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Packages/iOS/CmuxMobileShellUI/Sources/CmuxMobileShellUI/GhosttySurfaceRepresentable.swift b/Packages/iOS/CmuxMobileShellUI/Sources/CmuxMobileShellUI/GhosttySurfaceRepresentable.swift index 1467f4bda288..638c12397bed 100644 --- a/Packages/iOS/CmuxMobileShellUI/Sources/CmuxMobileShellUI/GhosttySurfaceRepresentable.swift +++ b/Packages/iOS/CmuxMobileShellUI/Sources/CmuxMobileShellUI/GhosttySurfaceRepresentable.swift @@ -577,7 +577,7 @@ struct GhosttySurfaceRepresentable: UIViewRepresentable { // remap is authoritative and anchor math never sees reflow as append drift. let capturedViewportAnchor = await surfaceView.captureVerifiedReplayViewportAnchor() - guard !Task.isCancelled else { return } + guard !Task.isCancelled else { return false } let replayViewportAnchor: VerifiedReplayCapturedViewportAnchor? if frame.anchor == .screen, frame.activeScreen == .primary { if let capturedViewportAnchor {