diff --git a/Source/BottomView/ButtonPicker.swift b/Source/BottomView/ButtonPicker.swift index cf1e213b..87c01aae 100644 --- a/Source/BottomView/ButtonPicker.swift +++ b/Source/BottomView/ButtonPicker.swift @@ -13,12 +13,12 @@ class ButtonPicker: UIButton { static let buttonBorderSize: CGFloat = 68 } - var configuration = ImagePickerConfiguration() + var imagePickerConfiguration = ImagePickerConfiguration() lazy var numberLabel: UILabel = { [unowned self] in let label = UILabel() label.translatesAutoresizingMaskIntoConstraints = false - label.font = self.configuration.numberLabelFont + label.font = self.imagePickerConfiguration.numberLabelFont return label }() @@ -29,7 +29,7 @@ class ButtonPicker: UIButton { public init(configuration: ImagePickerConfiguration? = nil) { if let configuration = configuration { - self.configuration = configuration + self.imagePickerConfiguration = configuration } super.init(frame: .zero) configure()