크리에이터 채널, 콘텐츠 상세 - 오픈예정 추가
This commit is contained in:
@@ -26,6 +26,15 @@ struct ContentListItemView: View {
|
||||
|
||||
VStack(alignment: .leading, spacing: 0) {
|
||||
HStack(spacing: 8) {
|
||||
if item.isScheduledToOpen {
|
||||
Text("오픈예정")
|
||||
.font(.custom(Font.medium.rawValue, size: 8))
|
||||
.foregroundColor(Color(hex: "3bb9f1"))
|
||||
.padding(2.6)
|
||||
.background(Color(hex: "003851"))
|
||||
.cornerRadius(2.6)
|
||||
}
|
||||
|
||||
Text(item.themeStr)
|
||||
.font(.custom(Font.medium.rawValue, size: 8))
|
||||
.foregroundColor(Color(hex: "3bac6a"))
|
||||
@@ -112,7 +121,8 @@ struct ContentListItemView_Previews: PreviewProvider {
|
||||
duration: "00:04:43",
|
||||
likeCount: 2,
|
||||
commentCount: 0,
|
||||
isAdult: false
|
||||
isAdult: false,
|
||||
isScheduledToOpen: true
|
||||
)
|
||||
)
|
||||
}
|
||||
|
Reference in New Issue
Block a user