parent
bcba83a8a7
commit
511bb11550
|
@ -48,6 +48,24 @@ struct ContentMainNewContentView: View {
|
|||
}
|
||||
}
|
||||
|
||||
HStack(spacing: 8) {
|
||||
Image("ic_refresh")
|
||||
|
||||
Text("새로고침")
|
||||
.font(.custom(Font.medium.rawValue, size: 14.7))
|
||||
.foregroundColor(Color.grayd2)
|
||||
}
|
||||
.padding(.vertical, 11)
|
||||
.frame(maxWidth: .infinity)
|
||||
.overlay(
|
||||
RoundedRectangle(cornerRadius: 26.7)
|
||||
.stroke(Color.gray90, lineWidth: 1)
|
||||
)
|
||||
.onTapGesture {
|
||||
viewModel.getThemeList()
|
||||
viewModel.getNewContentOfTheme()
|
||||
}
|
||||
|
||||
if viewModel.isLoading {
|
||||
ActivityIndicatorView()
|
||||
.frame(width: 100, height: 100)
|
||||
|
|
|
@ -27,6 +27,23 @@ struct ContentMainRecommendSeriesView: View {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
HStack(spacing: 8) {
|
||||
Image("ic_refresh")
|
||||
|
||||
Text("새로고침")
|
||||
.font(.custom(Font.medium.rawValue, size: 14.7))
|
||||
.foregroundColor(Color.grayd2)
|
||||
}
|
||||
.padding(.vertical, 11)
|
||||
.frame(maxWidth: .infinity)
|
||||
.overlay(
|
||||
RoundedRectangle(cornerRadius: 26.7)
|
||||
.stroke(Color.gray90, lineWidth: 1)
|
||||
)
|
||||
.onTapGesture {
|
||||
viewModel.getRecommendSeriesList()
|
||||
}
|
||||
}
|
||||
.padding(.bottom, 26.7)
|
||||
.padding(.horizontal, 13.3)
|
||||
|
|
|
@ -26,12 +26,6 @@ struct SectionLiveNowView: View {
|
|||
.font(.custom(Font.bold.rawValue, size: 18.3))
|
||||
.foregroundColor(Color(hex: "ff5c49"))
|
||||
|
||||
Image("ic_refresh")
|
||||
.padding(.leading, 10)
|
||||
.onTapGesture {
|
||||
onClickRefresh()
|
||||
}
|
||||
|
||||
Spacer()
|
||||
|
||||
if items.count > 0 {
|
||||
|
@ -88,6 +82,24 @@ struct SectionLiveNowView: View {
|
|||
.background(Color(hex: "13181b"))
|
||||
.cornerRadius(4.7)
|
||||
}
|
||||
|
||||
HStack(spacing: 8) {
|
||||
Image("ic_refresh")
|
||||
|
||||
Text("새로고침")
|
||||
.font(.custom(Font.medium.rawValue, size: 14.7))
|
||||
.foregroundColor(Color.grayd2)
|
||||
}
|
||||
.padding(.vertical, 11)
|
||||
.frame(maxWidth: .infinity)
|
||||
.overlay(
|
||||
RoundedRectangle(cornerRadius: 26.7)
|
||||
.stroke(Color.gray90, lineWidth: 1)
|
||||
)
|
||||
.padding(.horizontal, 13.3)
|
||||
.onTapGesture {
|
||||
onClickRefresh()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue