From ea01b7be92cbbb76b5c8b68b328b13eedb5cc774 Mon Sep 17 00:00:00 2001 From: Carson Katri Date: Thu, 31 Aug 2023 16:15:30 -0400 Subject: [PATCH] Revert visibility --- .../LiveViewNative/Coordinators/LiveSessionCoordinator.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/LiveViewNative/Coordinators/LiveSessionCoordinator.swift b/Sources/LiveViewNative/Coordinators/LiveSessionCoordinator.swift index 5a538564d..be571d7ff 100644 --- a/Sources/LiveViewNative/Coordinators/LiveSessionCoordinator.swift +++ b/Sources/LiveViewNative/Coordinators/LiveSessionCoordinator.swift @@ -48,7 +48,7 @@ public class LiveSessionCoordinator: ObservableObject { // Socket connection var socket: Socket? - private(set) var domValues: DOMValues! + private var domValues: DOMValues! private var liveReloadSocket: Socket? private var liveReloadChannel: Channel? @@ -165,7 +165,7 @@ public class LiveSessionCoordinator: ObservableObject { } } - func disconnect() async { + private func disconnect() async { await rootCoordinator.disconnect() for entry in self.navigationPath { await entry.coordinator.disconnect()