We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38a3c07 commit 47c99d4Copy full SHA for 47c99d4
Sources/ComponentsKit/Components/Badge/UKBadge.swift
@@ -46,11 +46,6 @@ open class UKBadge: UIView, UKComponent {
46
47
private func setup() {
48
self.addSubview(self.titleLabel)
49
-
50
- if #available(iOS 17.0, *) {
51
- self.registerForTraitChanges([UITraitUserInterfaceStyle.self]) { (_: Self, _: UITraitCollection) in
52
- }
53
54
}
55
56
// MARK: - Style
@@ -112,10 +107,6 @@ open class UKBadge: UIView, UKComponent {
112
107
height: min(height, size.height)
113
108
)
114
109
115
116
- open override func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) {
117
- super.traitCollectionDidChange(previousTraitCollection)
118
119
110
120
111
121
// MARK: - Style Helpers
0 commit comments