Skip to content

Commit

Permalink
🐛 :: [#570] WMNavigatiojBarView / titleLabel에 text 및 색 지정
Browse files Browse the repository at this point in the history
  • Loading branch information
baekteun authored Jun 4, 2024
1 parent 87a0b65 commit b476b80
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ public final class WMNavigationBarView: UIView {

public func setTitle(_ text: String) {
let titleLabel = UILabel()
titleLabel.text = text
titleLabel.font = .setFont(.t5(weight: .medium))
titleLabel.textColor = DesignSystemAsset.NewGrayColor.gray900.color
self.titleView = titleLabel
}

Expand Down

0 comments on commit b476b80

Please sign in to comment.