diff --git a/NucleicRemote/NucleicRemote/Models/RemoteStore.swift b/NucleicRemote/NucleicRemote/Models/RemoteStore.swift index cc7e44f..d78892a 100644 --- a/NucleicRemote/NucleicRemote/Models/RemoteStore.swift +++ b/NucleicRemote/NucleicRemote/Models/RemoteStore.swift @@ -38,6 +38,11 @@ final class RemoteStore: ObservableObject { if case .connected = self { return true } return false } + /// The live transport when connected — for the optimistic overlay's "Connected · …" label. + var transport: SyncTransportHint? { + if case .connected(let t) = self { return t } + return nil + } } @Published private(set) var connectivity: Connectivity = .unpaired