콘텐츠 메인 홈
- 비 로그인 상태에서 인기순위 날짜 보이지 않도록 수정 - 라이브 우측 상단의 메시지 아이콘 색상 변경
This commit is contained in:
parent
80cb19a1c7
commit
8a4a38a826
Binary file not shown.
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 2.8 KiB |
|
@ -24,7 +24,7 @@ struct ContentMainTabHomeRankCreatorView: View {
|
|||
|
||||
var body: some View {
|
||||
VStack(alignment: .leading, spacing: 0) {
|
||||
if let desc = response.desc {
|
||||
if let desc = response.desc, !token.trimmingCharacters(in: .whitespacesAndNewlines).isEmpty {
|
||||
VStack(spacing: 8) {
|
||||
Text("\(desc)")
|
||||
.font(.custom(Font.bold.rawValue, size: 14.7))
|
||||
|
@ -37,7 +37,6 @@ struct ContentMainTabHomeRankCreatorView: View {
|
|||
.padding(.vertical, 8)
|
||||
.frame(maxWidth: .infinity)
|
||||
.background(Color.gray22)
|
||||
.padding(.top, 13.3)
|
||||
}
|
||||
|
||||
if let coloredTitle = response.coloredTitle, let color = response.color {
|
||||
|
@ -57,7 +56,7 @@ struct ContentMainTabHomeRankCreatorView: View {
|
|||
.foregroundColor(Color.grayee)
|
||||
}
|
||||
}
|
||||
.padding(.top, 30)
|
||||
.padding(.top, token.trimmingCharacters(in: .whitespacesAndNewlines).isEmpty ? 0 : 30)
|
||||
} else {
|
||||
Text(response.title)
|
||||
.font(.custom(Font.bold.rawValue, size: 18.3))
|
||||
|
|
Loading…
Reference in New Issue