mirror of
https://github.com/stablyai/orca.git
synced 2026-09-29 08:03:20 +00:00
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
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user