Foreground Connection Delay Adjustment
Nucleic-Session: CB658C4F-A19F-447C-B313-7CB21783BD94 Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user