Skip to content

Commit

Permalink
Remove old comment
Browse files Browse the repository at this point in the history
  • Loading branch information
bryankeller authored Mar 15, 2024
1 parent cf47cde commit 42683fb
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Sources/EpoxyCore/SwiftUI/EpoxySwiftUIHostingView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -343,12 +343,8 @@ public final class EpoxySwiftUIHostingView<RootView: View>: UIView, EpoxyableVie
viewController.view.translatesAutoresizingMaskIntoConstraints = false
NSLayoutConstraint.activate([
viewController.view.leadingAnchor.constraint(equalTo: leadingAnchor),
// Pining the hosting view controller to layoutMarginsGuide ensures the content respects the top safe area
// when installed inside a `TopBarContainer`
viewController.view.topAnchor.constraint(equalTo: topAnchor),
viewController.view.trailingAnchor.constraint(equalTo: trailingAnchor),
// Pining the hosting view controller to layoutMarginsGuide ensures the content respects the bottom safe area
// when installed inside a `BottomBarContainer`
viewController.view.bottomAnchor.constraint(equalTo: bottomAnchor),
])

Expand Down

0 comments on commit 42683fb

Please sign in to comment.