fix: set missing font for relationship action button

This commit is contained in:
CMK 2021-04-15 11:05:19 +08:00
parent aa3dff0770
commit 2507a7324e
1 changed files with 2 additions and 0 deletions

View File

@ -29,6 +29,8 @@ final class ProfileRelationshipActionButton: RoundedEdgesButton {
extension ProfileRelationshipActionButton {
private func _init() {
titleLabel?.font = .systemFont(ofSize: 17, weight: .semibold)
actvityIndicatorView.translatesAutoresizingMaskIntoConstraints = false
addSubview(actvityIndicatorView)
NSLayoutConstraint.activate([