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