mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-14 00:04:15 +09:00
feat: added update interval to the connectivity reader (#2570)
This commit is contained in:
@@ -205,6 +205,9 @@ public class Network: Module {
|
||||
self?.connectivityCallback(Network_Connectivity(status: false))
|
||||
}
|
||||
}
|
||||
self.settingsView.setInterval = { [weak self] value in
|
||||
self?.connectivityReader?.setInterval(value)
|
||||
}
|
||||
self.settingsView.publicIPRefreshIntervalCallback = { [weak self] in
|
||||
self?.setIPUpdater()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user