Skip to content

Commit

Permalink
♻️ :: [#135] 타입 이름 리펙토링
Browse files Browse the repository at this point in the history
  • Loading branch information
Eunho0922 committed Jan 1, 2024
1 parent ef84999 commit 28f01ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ open class MukgenButton: UIButton {
) {
super.init(frame: .zero)

textLabel.text = type.logoTitle
textLabel.text = type.title
textLabel.textColor = type.titleColor
self.backgroundColor = type.backgroundColor
self.layer.cornerRadius = 10
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public enum MukgenButtonType: String, RawRepresentable {
case backTitle
case beforeTitle

public var subTitle: String? {
public var title: String? {
switch self {
case .loginTitle1:
return "로그인"
Expand Down

0 comments on commit 28f01ac

Please sign in to comment.