Run SwiftFormat.

This commit is contained in:
Doug
2026-05-27 14:38:50 +01:00
committed by Doug
parent 5138e05e47
commit fa67713726
573 changed files with 2426 additions and 2426 deletions
@@ -17,12 +17,12 @@ class AppMediator: AppMediatorProtocol {
self.windowManager = windowManager
self.networkMonitor = networkMonitor
}
/// UIApplication.State won't update if we store this e.g. in the constructor
private var application: UIApplication {
UIApplication.shared
}
var appState: UIApplication.State {
switch application.applicationState {
case .active:
@@ -39,7 +39,7 @@ class AppMediator: AppMediatorProtocol {
func beginBackgroundTask(expirationHandler handler: (() -> Void)?) -> UIBackgroundTaskIdentifier {
application.beginBackgroundTask(expirationHandler: handler)
}
func endBackgroundTask(_ identifier: UIBackgroundTaskIdentifier) {
application.endBackgroundTask(identifier)
}