From fb0b77da6829b6d23fe2395ed92e6b32b7ce34d1 Mon Sep 17 00:00:00 2001 From: siwonLee <111dltldnjs@gmail.com> Date: Wed, 23 Oct 2024 11:24:59 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=B2=84=EC=A0=84=20=ED=91=9C=EC=8B=9C?= =?UTF-8?q?=20=EB=B0=A9=EB=B2=95=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bundle에서 마케팅 버전 가져오기 --- .../Feature/MyPage/Sources/Scene/MyPage/Cell/SettingCell.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Projects/Feature/MyPage/Sources/Scene/MyPage/Cell/SettingCell.swift b/Projects/Feature/MyPage/Sources/Scene/MyPage/Cell/SettingCell.swift index f3cedd0..3309a81 100644 --- a/Projects/Feature/MyPage/Sources/Scene/MyPage/Cell/SettingCell.swift +++ b/Projects/Feature/MyPage/Sources/Scene/MyPage/Cell/SettingCell.swift @@ -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