Skip to content

Commit a306319

Browse files
committed
Use connecting phase when channel is not connected, but socket is
1 parent 3f33641 commit a306319

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/LiveViewNative/NavStackEntryView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ struct NavStackEntryView<R: RootRegistry>: View {
3131
private var phase: LiveViewPhase<R> {
3232
switch coordinator.state {
3333
case .notConnected:
34-
return .disconnected
34+
return .connecting // `disconnected` phase only applies to the socket connection, not the channel.
3535
case .connecting:
3636
return .connecting
3737
case .connectionFailed(let error):

0 commit comments

Comments
 (0)