콘텐츠 메인 - 인기 콘텐츠 영역 추가
This commit is contained in:
@@ -24,6 +24,7 @@ final class ContentMainViewModel: ObservableObject {
|
||||
@Published var orderList = [GetAudioContentMainItem]()
|
||||
@Published var themeList = [String]()
|
||||
@Published var curationList = [GetAudioContentCurationResponse]()
|
||||
@Published var contentRanking: GetAudioContentRanking? = nil
|
||||
|
||||
@Published var selectedTheme = "전체" {
|
||||
didSet {
|
||||
@@ -64,6 +65,7 @@ final class ContentMainViewModel: ObservableObject {
|
||||
self.bannerList.append(contentsOf: data.bannerList)
|
||||
self.orderList.append(contentsOf: data.orderList)
|
||||
self.curationList.append(contentsOf: data.curationList)
|
||||
self.contentRanking = data.contentRanking
|
||||
|
||||
self.themeList.append("전체")
|
||||
self.themeList.append(contentsOf: data.themeList)
|
||||
|
Reference in New Issue
Block a user