Skip to content

Commit a925d9b

Browse files
authored
Merge pull request #182 from birdsongapps/master
fixes for iOS 26
2 parents 7eb6523 + 3b2a9d5 commit a925d9b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sources/Stevia/Stevia+Center.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public extension UIView {
2424
@discardableResult
2525
func centerInContainer() -> Self {
2626
if let spv = superview {
27-
alignCenter(self, with: spv)
27+
Stevia.alignCenter(self, with: spv)
2828
}
2929
return self
3030
}

Sources/Stevia/Stevia+Constraints.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import UIKit
1111

1212
public class SteviaLayoutConstraint: NSLayoutConstraint {
13-
public static var defaultPriority: Float = UILayoutPriority.defaultHigh + 1
13+
public static var defaultPriority: Float = UILayoutPriority.defaultHigh.rawValue + 1
1414
}
1515

1616

0 commit comments

Comments
 (0)