Skip to content

Commit d8a8f84

Browse files
authored
Merge pull request #483 from Kirow/hotfixes/ios15
renamed `ButtonPicker.configuration`
2 parents c0b3230 + afbec27 commit d8a8f84

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Source/BottomView/ButtonPicker.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ class ButtonPicker: UIButton {
1313
static let buttonBorderSize: CGFloat = 68
1414
}
1515

16-
var configuration = ImagePickerConfiguration()
16+
var imagePickerConfiguration = ImagePickerConfiguration()
1717

1818
lazy var numberLabel: UILabel = { [unowned self] in
1919
let label = UILabel()
2020
label.translatesAutoresizingMaskIntoConstraints = false
21-
label.font = self.configuration.numberLabelFont
21+
label.font = self.imagePickerConfiguration.numberLabelFont
2222

2323
return label
2424
}()
@@ -29,7 +29,7 @@ class ButtonPicker: UIButton {
2929

3030
public init(configuration: ImagePickerConfiguration? = nil) {
3131
if let configuration = configuration {
32-
self.configuration = configuration
32+
self.imagePickerConfiguration = configuration
3333
}
3434
super.init(frame: .zero)
3535
configure()

0 commit comments

Comments
 (0)