@@ -121,9 +121,9 @@ let actions: [UIControlViewAction] = [
121
121
]
122
122
123
123
view.showHideIndicator = false
124
- view.closeTitle = " Close"
125
- view.closeBackColor = .theme ( light : . black , dark : . white , any : . white ) // .color(.black)
126
- view.closeTintColor = .auto
124
+ view.closeButton.title = " Close"
125
+ view.closeButton.tintColor = .auto
126
+ view.closeButton.backColor = .theme ( light : . black , dark : . white , any : . white ) // .color(.black)
127
127
view.showWithSlideAnimation = true
128
128
view.delegate = self
129
129
view.show (self , type : .actions (actions))
@@ -138,9 +138,9 @@ let view = UIControlView.self
138
138
let colors: [UIColor] = [.gray, .systemBlue, .brown, .systemTeal, .systemCyan, .systemPink, .systemRed, .systemMint]
139
139
140
140
view.showHideIndicator = false
141
- view.closeTitle = " Close"
142
- view.closeBackColor = .theme ( light : . black , dark : . white , any : . white ) // .color(.black)
143
- view.closeTintColor = .auto
141
+ view.closeButton.title = " Close"
142
+ view.closeButton.tintColor = .auto
143
+ view.closeButton.backColor = .theme ( light : . black , dark : . white , any : . white ) // .color(.black)
144
144
view.showWithSlideAnimation = true
145
145
view.delegate = self
146
146
view.colorDelegate = self
0 commit comments