mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-05 11:58:32 +00:00
Run swiftformat 0.52.0 (#1491)
This commit is contained in:
@@ -112,8 +112,8 @@ private extension UIApplication {
|
||||
/// Application instance extension-safe. Will be `nil` on app extensions.
|
||||
static var extensionSafeShared: UIApplication? {
|
||||
let selector = NSSelectorFromString("sharedApplication")
|
||||
guard Self.responds(to: selector) else { return nil }
|
||||
return Self.perform(selector).takeUnretainedValue() as? UIApplication
|
||||
guard responds(to: selector) else { return nil }
|
||||
return perform(selector).takeUnretainedValue() as? UIApplication
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ class MockClientProxy: ClientProxyProtocol {
|
||||
|
||||
var isSyncing: Bool { false }
|
||||
|
||||
internal init(userID: String, deviceID: String? = nil, roomSummaryProvider: RoomSummaryProviderProtocol? = MockRoomSummaryProvider()) {
|
||||
init(userID: String, deviceID: String? = nil, roomSummaryProvider: RoomSummaryProviderProtocol? = MockRoomSummaryProvider()) {
|
||||
self.userID = userID
|
||||
self.deviceID = deviceID
|
||||
self.roomSummaryProvider = roomSummaryProvider
|
||||
|
||||
Reference in New Issue
Block a user