Skip to content

Commit

Permalink
Merge pull request hyperoslo#483 from Kirow/hotfixes/ios15
Browse files Browse the repository at this point in the history
renamed `ButtonPicker.configuration`
  • Loading branch information
3lvis committed Sep 1, 2021
2 parents c0b3230 + afbec27 commit d8a8f84
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Source/BottomView/ButtonPicker.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
}()
Expand All @@ -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()
Expand Down

0 comments on commit d8a8f84

Please sign in to comment.