Skip to content

Commit c55dc33

Browse files
committed
Feat: 프로필 default 이미지 asset 추가 및 MypageView에 세팅
1 parent 1e9422b commit c55dc33

6 files changed

Lines changed: 25 additions & 3 deletions

File tree

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"images" : [
3+
{
4+
"filename" : "profile_graphic.png",
5+
"idiom" : "universal",
6+
"scale" : "1x"
7+
},
8+
{
9+
"filename" : "profile_graphic@2x.png",
10+
"idiom" : "universal",
11+
"scale" : "2x"
12+
},
13+
{
14+
"filename" : "profile_graphic@3x.png",
15+
"idiom" : "universal",
16+
"scale" : "3x"
17+
}
18+
],
19+
"info" : {
20+
"author" : "xcode",
21+
"version" : 1
22+
}
23+
}
2.57 KB
Loading
5.19 KB
Loading
7.8 KB
Loading

Projects/Presentation/Sources/Common/DesignSystem/BitnagilGraphic.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,5 @@ enum BitnagilGraphic {
1616
static let onboardingGraphic = UIImage(named: "onboarding_graphic", in: bundle, with: nil)
1717
static let defaultEmotionGraphic = UIImage(named: "default_emotion_graphic", in: bundle, with: nil)
1818
static let logoGraphic = UIImage(named: "bitnagil_logo", in: bundle, with: nil)
19+
static let profileGraphic = UIImage(named: "profile_graphic", in: bundle, with: nil)
1920
}

Projects/Presentation/Sources/MyPage/View/MypageView.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,7 @@ final class MypageView: BaseViewController<MypageViewModel> {
6363
.settingIcon?
6464
.withRenderingMode(.alwaysTemplate)
6565

66-
profileImageView.layer.cornerRadius = Layout.profileImageViewCornerRadius
67-
profileImageView.layer.masksToBounds = true
68-
profileImageView.backgroundColor = BitnagilColor.gray40 // 임시
66+
profileImageView.image = BitnagilGraphic.profileGraphic
6967

7068
nicknameLabel.font = BitnagilFont(style: .title3, weight: .semiBold).font
7169
nicknameLabel.textColor = .black

0 commit comments

Comments
 (0)