diff --git a/SodaLive/Sources/Content/Main/NewContent/ContentMainNewContentView.swift b/SodaLive/Sources/Content/Main/NewContent/ContentMainNewContentView.swift index 8911393..07f79be 100644 --- a/SodaLive/Sources/Content/Main/NewContent/ContentMainNewContentView.swift +++ b/SodaLive/Sources/Content/Main/NewContent/ContentMainNewContentView.swift @@ -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) diff --git a/SodaLive/Sources/Content/Main/RecommendSeries/ContentMainRecommendSeriesView.swift b/SodaLive/Sources/Content/Main/RecommendSeries/ContentMainRecommendSeriesView.swift index 0299eeb..78daccd 100644 --- a/SodaLive/Sources/Content/Main/RecommendSeries/ContentMainRecommendSeriesView.swift +++ b/SodaLive/Sources/Content/Main/RecommendSeries/ContentMainRecommendSeriesView.swift @@ -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) diff --git a/SodaLive/Sources/Live/Now/SectionLiveNowView.swift b/SodaLive/Sources/Live/Now/SectionLiveNowView.swift index 291bb74..bdfac93 100644 --- a/SodaLive/Sources/Live/Now/SectionLiveNowView.swift +++ b/SodaLive/Sources/Live/Now/SectionLiveNowView.swift @@ -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() + } } } }