fix: extend corner radius for ProfileCard avatar background
This commit is contained in:
parent
03af68924c
commit
80fe24ed22
|
@ -181,7 +181,7 @@ extension ProfileCardView {
|
||||||
|
|
||||||
avatarButtonBackgroundView.layer.masksToBounds = true
|
avatarButtonBackgroundView.layer.masksToBounds = true
|
||||||
avatarButtonBackgroundView.layer.cornerCurve = .continuous
|
avatarButtonBackgroundView.layer.cornerCurve = .continuous
|
||||||
avatarButtonBackgroundView.layer.cornerRadius = 12
|
avatarButtonBackgroundView.layer.cornerRadius = 12 + 1
|
||||||
avatarButtonBackgroundView.translatesAutoresizingMaskIntoConstraints = false
|
avatarButtonBackgroundView.translatesAutoresizingMaskIntoConstraints = false
|
||||||
authorContainer.insertSubview(avatarButtonBackgroundView, belowSubview: avatarButton)
|
authorContainer.insertSubview(avatarButtonBackgroundView, belowSubview: avatarButton)
|
||||||
NSLayoutConstraint.activate([
|
NSLayoutConstraint.activate([
|
||||||
|
|
Loading…
Reference in New Issue