콘텐츠 메인
- 남성향, 여성향 콘텐츠 설정 적용 - 19금 콘텐츠 보기 여부 설정 적용
This commit is contained in:
@@ -109,7 +109,12 @@ final class ContentRepository {
|
||||
}
|
||||
|
||||
func getNewContentThemeList() -> AnyPublisher<Response, MoyaError> {
|
||||
return api.requestPublisher(.getNewContentThemeList)
|
||||
return api.requestPublisher(
|
||||
.getNewContentThemeList(
|
||||
isAdultContentVisible: UserDefaults.isAdultContentVisible(),
|
||||
contentType: ContentType(rawValue: UserDefaults.string(forKey: .contentPreference)) ?? ContentType.ALL
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
func getNewContentAllOfTheme(isFree: Bool, theme: String, page: Int, size: Int) -> AnyPublisher<Response, MoyaError> {
|
||||
|
||||
Reference in New Issue
Block a user