Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
virginiacook committed Dec 12, 2023
1 parent 9caeb8b commit 8457976
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,12 @@ class SheetFooterView: UIView {
// Device does not have a bottom safe area inset, add padding
bottomConstraint = stackView.bottomAnchor.constraint(equalTo: bottomAnchor, constant: -20)
}
} else {
bottomConstraint = stackView.bottomAnchor.constraint(equalTo: bottomAnchor, constant: -20)
}
} else {
// Fallback for earlier iOS versions
bottomConstraint = stackView.bottomAnchor.constraint(equalTo: bottomAnchor)
bottomConstraint = stackView.bottomAnchor.constraint(equalTo: bottomAnchor, constant: -20)
}

NSLayoutConstraint.activate([
Expand Down

0 comments on commit 8457976

Please sign in to comment.