We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01088ea commit ace08e7Copy full SHA for ace08e7
1 file changed
Sources/FlexUI/Classes/Extensions/FlexUI+UIButton.swift
@@ -30,7 +30,7 @@ public extension FlexUI where Component: UIButton {
30
/// - Returns: The current instance of `FlexUI` for further configuration.
31
@discardableResult
32
@MainActor
33
- func title(_ title: String, for state: UIControl.State = .normal) -> Self {
+ func title(_ title: String?, for state: UIControl.State = .normal) -> Self {
34
component.setTitle(title, for: state)
35
return self
36
}
0 commit comments