fix: extend corner radius for ProfileCard avatar background

This commit is contained in:
CMK 2022-04-18 17:18:24 +08:00
parent 03af68924c
commit 80fe24ed22
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ extension ProfileCardView {
avatarButtonBackgroundView.layer.masksToBounds = true
avatarButtonBackgroundView.layer.cornerCurve = .continuous
avatarButtonBackgroundView.layer.cornerRadius = 12
avatarButtonBackgroundView.layer.cornerRadius = 12 + 1
avatarButtonBackgroundView.translatesAutoresizingMaskIntoConstraints = false
authorContainer.insertSubview(avatarButtonBackgroundView, belowSubview: avatarButton)
NSLayoutConstraint.activate([