parent
8abd4f3c87
commit
57abeea432
|
@ -48,24 +48,6 @@ 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)
|
||||
|
|
Loading…
Reference in New Issue