Simplify overly complicated init (IOS-157)

Thank you @kimar!
This commit is contained in:
Nathan Mattes 2023-05-25 15:30:45 +02:00
parent 8b7e491590
commit 7a9c002fe8
1 changed files with 1 additions and 6 deletions

View File

@ -100,12 +100,7 @@ public final class UserView: UIView {
return label
}()
private let followButtonWrapper = {
let wrapper = UIView()
return wrapper
}()
private let followButtonWrapper = UIView()
private let followButton: FollowButton = {
let button = FollowButton()
button.cornerRadius = 10