Skip to content

Commit

Permalink
Update EpoxySwiftUIHostingView.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
bryankeller authored Apr 22, 2024
1 parent 78ba0cd commit e37cdcf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Sources/EpoxyCore/SwiftUI/EpoxySwiftUIHostingView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,6 @@ public final class EpoxySwiftUIHostingView<RootView: View>: UIView, EpoxyableVie
trailing: margins.right)
}


if forceLayoutOnLayoutMarginsChange {
// If we don't force a layout pass and size invalidation synchronously after the layout
// margins change, it's possible for the hosting view to render with incorrect margins,
Expand Down

0 comments on commit e37cdcf

Please sign in to comment.