Skip to content

Commit 768eb6a

Browse files
committed
[fix] #193 �포킷 상세 키워드 노출 로직 수정
1. 비밀 포킷일 때 2. 공개 포킷인데 키워드 설정을 아직 하지 않아 default case인 경우 위 케이스일 시 키워드 비공개
1 parent c95b7c8 commit 768eb6a

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

Projects/Feature/FeatureCategoryDetail/Sources/CategoryDetailView.swift

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -164,10 +164,12 @@ private extension CategoryDetailView {
164164
.foregroundStyle(textColor)
165165
.pokitFont(.b2(.m))
166166
}
167-
Text("#\(store.category.keywordType.title)")
168-
.foregroundStyle(textColor)
169-
.pokitFont(.b2(.m))
170-
.padding(.leading, 4.5)
167+
if store.category.keywordType != .default {
168+
Text("#\(store.category.keywordType.title)")
169+
.foregroundStyle(textColor)
170+
.pokitFont(.b2(.m))
171+
.padding(.leading, 4.5)
172+
}
171173
}
172174
.padding(.bottom, 16)
173175
PokitIconLButton(

0 commit comments

Comments
 (0)