Commit 23e9e7bd authored by Zandor Smith's avatar Zandor Smith 💻

Get rid of the network activity indicator warning on Mac Catalyst.

parent ccba1340
......@@ -22,6 +22,7 @@ public class NetworkActivityHandler {
}
private static func updateActivityIndicator() {
#if !targetEnvironment(macCatalyst)
DispatchQueue.main.async {
if count > 0 {
UIApplication.shared.isNetworkActivityIndicatorVisible = true
......@@ -32,6 +33,7 @@ public class NetworkActivityHandler {
}
}
}
#endif
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment