From c59ebc2038dbc757af68eaf75cbb9ce433216773 Mon Sep 17 00:00:00 2001 From: Jinwoo-H Date: Mon, 7 Sep 2026 19:50:24 -0400 Subject: [PATCH] fix(mobile): stop forcing the loading state when no session exists yet The screen kept spinning after an offline cache miss because it treated an absent session as a foreign host's session. Only a session from a different host forces loading now. Claude-Session: https://claude.ai/code/session_01JNnE9qzUZMMnqpZWCqM3nb --- mobile/app/hybrid.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mobile/app/hybrid.tsx b/mobile/app/hybrid.tsx index 16a6dae7edf..ab6df320b6e 100644 --- a/mobile/app/hybrid.tsx +++ b/mobile/app/hybrid.tsx @@ -329,7 +329,10 @@ export default function HybridScreen() { selectedHost={selectedHost} session={sessionHostId === selectedHostId ? session : null} viewEpoch={viewEpoch} - packageLoading={packageLoading || !selectedHost || sessionHostId !== selectedHostId} + // A session from the previously selected host must not render as ready for this one. + packageLoading={ + packageLoading || !selectedHost || (session !== null && sessionHostId !== selectedHostId) + } packageProgress={packageProgress} packageWarning={packageWarning} hostedViewActive={hostedViewActive}