native-view-ios-26 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -28,7 +28,7 @@ class NativeSafeAreaView: UIView {
|
|
|
28
28
|
addSubview(contentView)
|
|
29
29
|
|
|
30
30
|
setupBlurEffect()
|
|
31
|
-
|
|
31
|
+
setupConstraints()
|
|
32
32
|
|
|
33
33
|
// Listen for safe area changes
|
|
34
34
|
if #available(iOS 11.0, *) {
|
|
@@ -62,7 +62,7 @@ class NativeSafeAreaView: UIView {
|
|
|
62
62
|
])
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
private func
|
|
65
|
+
private func setupConstraints() {
|
|
66
66
|
NSLayoutConstraint.activate([
|
|
67
67
|
contentView.topAnchor.constraint(equalTo: safeAreaLayoutGuide.topAnchor),
|
|
68
68
|
contentView.leadingAnchor.constraint(equalTo: safeAreaLayoutGuide.leadingAnchor),
|