mirror of
https://github.com/mastodon/mastodon-ios.git
synced 2025-02-02 18:36:44 +01:00
chore: update badge tint color
This commit is contained in:
parent
7da3bbcaa7
commit
b4707e3567
@ -26,10 +26,10 @@ final class BadgeButton: UIButton {
|
||||
extension BadgeButton {
|
||||
private func _init() {
|
||||
titleLabel?.font = UIFontMetrics(forTextStyle: .caption1).scaledFont(for: .systemFont(ofSize: 13, weight: .medium))
|
||||
setBackgroundColor(Asset.Colors.badgeBackground.color, for: .normal)
|
||||
setTitleColor(.white, for: .normal)
|
||||
setBackgroundColor(.systemBackground, for: .normal)
|
||||
setTitleColor(.label, for: .normal)
|
||||
|
||||
contentEdgeInsets = UIEdgeInsets(top: 5, left: 5, bottom: 5, right: 5)
|
||||
contentEdgeInsets = UIEdgeInsets(top: 6, left: 6, bottom: 6, right: 6)
|
||||
}
|
||||
|
||||
override func layoutSubviews() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user