forked from shadowfacts/Tusker
Tweak follow count button colors
Try to make it clearer that it's a button
This commit is contained in:
parent
942df433b3
commit
ff29f2768b
|
@ -154,14 +154,12 @@ class ProfileHeaderView: UIView {
|
||||||
let followCountTitle = NSMutableAttributedString()
|
let followCountTitle = NSMutableAttributedString()
|
||||||
followCountTitle.append(NSAttributedString(string: followingAbbr, attributes: [
|
followCountTitle.append(NSAttributedString(string: followingAbbr, attributes: [
|
||||||
.font: UIFont.preferredFont(forTextStyle: .body).withTraits(.traitBold)!,
|
.font: UIFont.preferredFont(forTextStyle: .body).withTraits(.traitBold)!,
|
||||||
.foregroundColor: UIColor.label,
|
|
||||||
]))
|
]))
|
||||||
followCountTitle.append(NSAttributedString(string: " Following, ", attributes: [
|
followCountTitle.append(NSAttributedString(string: " Following, ", attributes: [
|
||||||
.foregroundColor: UIColor.secondaryLabel,
|
.foregroundColor: UIColor.secondaryLabel,
|
||||||
]))
|
]))
|
||||||
followCountTitle.append(NSAttributedString(string: followersAbbr, attributes: [
|
followCountTitle.append(NSAttributedString(string: followersAbbr, attributes: [
|
||||||
.font: UIFont.preferredFont(forTextStyle: .body).withTraits(.traitBold)!,
|
.font: UIFont.preferredFont(forTextStyle: .body).withTraits(.traitBold)!,
|
||||||
.foregroundColor: UIColor.label,
|
|
||||||
]))
|
]))
|
||||||
followCountTitle.append(NSAttributedString(string: " Follower\(account.followersCount == 1 ? "" : "s")", attributes: [
|
followCountTitle.append(NSAttributedString(string: " Follower\(account.followersCount == 1 ? "" : "s")", attributes: [
|
||||||
.foregroundColor: UIColor.secondaryLabel,
|
.foregroundColor: UIColor.secondaryLabel,
|
||||||
|
|
Loading…
Reference in New Issue