Fixes #258 - Display an indicator if the network is currently unreachable (#379)

This commit is contained in:
Stefan Ceriu
2022-12-19 18:29:14 +02:00
committed by GitHub
parent e0e2d26b4b
commit 39fcd3b9c9
6 changed files with 81 additions and 8 deletions
@@ -32,4 +32,10 @@ class ServiceLocator {
func register(appSettings: AppSettings) {
settings = appSettings
}
private(set) var networkMonitor: NetworkMonitor!
func register(networkMonitor: NetworkMonitor) {
self.networkMonitor = networkMonitor
}
}