Skip to content

Commit

Permalink
fix: 버전 표시 방법 수정
Browse files Browse the repository at this point in the history
Bundle에서 마케팅 버전 가져오기
  • Loading branch information
Siwon-L committed Oct 23, 2024
1 parent 47f620c commit fb0b77d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ final class SettingCell: UITableViewCell, ReusableView {

private let versionLabel: UILabel = {
let v = UILabel()
v.setTextWithLineHeight(text: "1.2.1", lineHeight: 24)
let version = Bundle.main.infoDictionary?["CFBundleShortVersionString"] as? String ?? "버전 알 수 없음"
v.setTextWithLineHeight(text: version, lineHeight: 24)
v.textColor = Colors.Blue._4
v.font = Fonts.body._4
return v
Expand Down

0 comments on commit fb0b77d

Please sign in to comment.