Skip to content

Commit 8edcd12

Browse files
stephencelisgithub-actions[bot]
authored andcommitted
Run swift-format
1 parent 087b6b5 commit 8edcd12

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Sources/ComposableArchitecture/Reducer/Reducers/PresentationReducer.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ public struct PresentationState<State> {
176176
extension PresentationState: Equatable where State: Equatable {
177177
public static func == (lhs: Self, rhs: Self) -> Bool {
178178
lhs.sharesStorage(with: rhs)
179-
|| lhs.wrappedValue == rhs.wrappedValue
179+
|| lhs.wrappedValue == rhs.wrappedValue
180180
}
181181
}
182182

Sources/ComposableArchitecture/SwiftUI/Binding.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,8 @@ extension WithViewStore where ViewState: Equatable, Content: View {
716716

717717
deinit {
718718
// NB: `isInvalidated()` can access store state, which must happen on the main thread.
719-
let isInvalidated = Thread.isMainThread
719+
let isInvalidated =
720+
Thread.isMainThread
720721
? self.isInvalidated()
721722
: DispatchQueue.main.sync(execute: self.isInvalidated)
722723

0 commit comments

Comments
 (0)