mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Removing dead code part 2 (#2235)
Co-authored-by: Doug <6060466+pixlwave@users.noreply.github.com>
This commit is contained in:
@@ -27,14 +27,6 @@ class NetworkMonitor: NetworkMonitorProtocol {
|
||||
reachabilitySubject.asCurrentValuePublisher()
|
||||
}
|
||||
|
||||
var isCurrentConnectionExpensive: Bool {
|
||||
pathMonitor.currentPath.isExpensive
|
||||
}
|
||||
|
||||
var isCurrentConnectionConstrained: Bool {
|
||||
pathMonitor.currentPath.isConstrained
|
||||
}
|
||||
|
||||
init() {
|
||||
queue = DispatchQueue(label: "io.element.elementx.networkmonitor", qos: .background)
|
||||
pathMonitor = NWPathMonitor()
|
||||
|
||||
Reference in New Issue
Block a user