fix compile error
This commit is contained in:
parent
622c722a59
commit
5fb90f6069
|
|
@ -91,7 +91,7 @@ open class CustomizableButtonView: UIView, InitializableView, ConfigurableView {
|
|||
|
||||
public var buttonTitle: String = "" {
|
||||
willSet {
|
||||
buttonTitle.text = newValue
|
||||
button.text = newValue
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -33,7 +33,8 @@ open class CustomizableButtonViewModel {
|
|||
public let appearance: Appearance
|
||||
public let buttonTitle: String
|
||||
|
||||
public init(appearance: Appearance) {
|
||||
public init(buttonTitle: String, appearance: Appearance) {
|
||||
self.buttonTitle = buttonTitle
|
||||
self.appearance = appearance
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue