콘텐츠 메인 홈

- 비 로그인 상태에서 인기순위 날짜 보이지 않도록 수정
- 라이브 우측 상단의 메시지 아이콘 색상 변경
This commit is contained in:
Yu Sung 2025-03-24 21:03:00 +09:00
parent 80cb19a1c7
commit 8a4a38a826
2 changed files with 2 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

@ -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))