Skip to content

Commit 4caf69d

Browse files
committed
[design] #187 추천 링크 없음 ui 추가
1 parent 78fcebb commit 4caf69d

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Projects/DSKit/Sources/Components/PokitCaution.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ public enum CautionType {
1515
case 즐겨찾기_링크없음
1616
case 링크부족
1717
case 알림없음
18+
case 추천_링크없음
1819

1920
var image: PokitImage.Character {
2021
switch self {
@@ -42,6 +43,8 @@ public enum CautionType {
4243
return "링크가 부족해요!"
4344
case .알림없음:
4445
return "알림이 없어요"
46+
case .추천_링크없음:
47+
return "아직 추천된 링크가 없어요!"
4548
}
4649
}
4750

@@ -61,6 +64,8 @@ public enum CautionType {
6164
return "링크를 5개 이상 저장하고 추천을 받아보세요"
6265
case .알림없음:
6366
return "리마인드 알림을 설정하세요"
67+
case .추천_링크없음:
68+
return ""
6469
}
6570
}
6671

Projects/Feature/FeatureRecommend/Sources/Recommend/RecommendView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ private extension RecommendView {
146146

147147
@ViewBuilder
148148
var empty: some View {
149-
PokitCaution(type: .링크없음)
149+
PokitCaution(type: .추천_링크없음)
150150
.padding(.top, 100)
151151

152152
Spacer()

0 commit comments

Comments
 (0)