mirror of
https://github.com/mastodon/mastodon-ios
synced 2025-04-11 22:58:02 +02:00
Simplify overly complicated init (IOS-157)
Thank you @kimar!
This commit is contained in:
parent
8b7e491590
commit
7a9c002fe8
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user