mirror of
https://github.com/stablyai/orca.git
synced 2026-10-13 00:02:54 +00:00
Show mobile files connection wait state
Co-authored-by: Orca <help@stably.ai>
This commit is contained in:
@@ -120,7 +120,11 @@ export default function MobileFileExplorerScreen() {
|
||||
const [truncated, setTruncated] = useState(false)
|
||||
|
||||
const loadFiles = useCallback(async () => {
|
||||
if (!client || connState !== 'connected') return
|
||||
if (!client || connState !== 'connected') {
|
||||
setLoading(false)
|
||||
setError(connState === 'connected' ? 'Connecting to desktop...' : 'Waiting for desktop...')
|
||||
return
|
||||
}
|
||||
setLoading(true)
|
||||
setError(null)
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user