Skip to content

Commit

Permalink
setting/#123 UILabel 익스텐션에 텍스트 컬러 black 디폴트로 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaybei committed Jul 5, 2024
1 parent 916873f commit e7939c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion KkuMulKum/Resource/Extension/UILabel+.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import UIKit

extension UILabel {
func setText(_ text: String, style: UIFont.Pretendard, color: UIColor) {
func setText(_ text: String, style: UIFont.Pretendard, color: UIColor = .black) {
attributedText = .pretendardString(text, style: style)
textColor = color
numberOfLines = 0
Expand Down

0 comments on commit e7939c2

Please sign in to comment.