Skip to content

Commit

Permalink
fix warning: self' refers to the method 'LoadingView.self', which may…
Browse files Browse the repository at this point in the history
… be unexpected
  • Loading branch information
VladimirBrejcha committed Nov 25, 2022
1 parent af94682 commit fd2c13a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/LoadingView/LoadingView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ open class LoadingView: UIView {
}

// MARK: - Repeat button
private let repeatButton: Button = {
private lazy var repeatButton: Button = {
let button = Button()
button.setTitle("repeat", for: .normal)
button.addTarget(self, action: #selector(repeatTouchUp(_:)), for: .touchUpInside)
Expand Down

0 comments on commit fd2c13a

Please sign in to comment.