Skip to content

Commit a4339e2

Browse files
authored
Update README.md
1 parent 903a30b commit a4339e2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,9 @@ let actions: [UIControlViewAction] = [
121121
]
122122

123123
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)
127127
view.showWithSlideAnimation = true
128128
view.delegate = self
129129
view.show(self, type: .actions(actions))
@@ -138,9 +138,9 @@ let view = UIControlView.self
138138
let colors: [UIColor] = [.gray, .systemBlue, .brown, .systemTeal, .systemCyan, .systemPink, .systemRed, .systemMint]
139139

140140
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)
144144
view.showWithSlideAnimation = true
145145
view.delegate = self
146146
view.colorDelegate = self

0 commit comments

Comments
 (0)