feat: 인기 단편 전체보기
- 인기 단편 전체보기에 포인트 사용 여부 표시
This commit is contained in:
@@ -82,6 +82,15 @@ struct ContentRankingAllView: View {
|
|||||||
.padding(2.6)
|
.padding(2.6)
|
||||||
.background(Color(hex: "222222"))
|
.background(Color(hex: "222222"))
|
||||||
.cornerRadius(2.6)
|
.cornerRadius(2.6)
|
||||||
|
|
||||||
|
if item.isPointAvailable {
|
||||||
|
Text("포인트")
|
||||||
|
.font(.custom(Font.medium.rawValue, size: 8))
|
||||||
|
.foregroundColor(.white)
|
||||||
|
.padding(2.6)
|
||||||
|
.background(Color(hex: "7849bc"))
|
||||||
|
.cornerRadius(2.6)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Text(item.creatorNickname)
|
Text(item.creatorNickname)
|
||||||
|
|||||||
Reference in New Issue
Block a user