File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Sources/YMatterType/Extensions/UIKit Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ extension UITraitCollection {
2525 /// - Parameter traitCollection: A trait collection that you want to compare to the current trait collection.
2626 /// - Returns: Returns a Boolean value indicating whether changing between the
2727 /// specified and current trait collections could affect breakpoints.
28- open func hasDifferentBreakpoint( comparedTo traitCollection: UITraitCollection ? ) -> Bool {
28+ public func hasDifferentBreakpoint( comparedTo traitCollection: UITraitCollection ? ) -> Bool {
2929 horizontalSizeClass != traitCollection? . horizontalSizeClass ||
3030 verticalSizeClass != traitCollection? . verticalSizeClass
3131 }
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ extension UITraitCollection {
2222 /// - Parameter traitCollection: A trait collection that you want to compare to the current trait collection.
2323 /// - Returns: Returns a Boolean value indicating whether changing between the
2424 /// specified and current trait collections would affect fonts.
25- open func hasDifferentFontAppearance( comparedTo traitCollection: UITraitCollection ? ) -> Bool {
25+ public func hasDifferentFontAppearance( comparedTo traitCollection: UITraitCollection ? ) -> Bool {
2626 preferredContentSizeCategory != traitCollection? . preferredContentSizeCategory ||
2727 legibilityWeight != traitCollection? . legibilityWeight
2828 }
You can’t perform that action at this time.
0 commit comments