콘텐츠 전체보기

- 19금 콘텐츠 보기 여부 적용
This commit is contained in:
klaus 2025-03-19 22:28:10 +09:00
parent 28b7aaae9f
commit 10c215d9bd
2 changed files with 2 additions and 0 deletions

View File

@ -49,6 +49,7 @@ interface AudioContentApi {
fun getAudioContentList(
@Query("creator-id") id: Long,
@Query("category-id") categoryId: Long,
@Query("isAdultContentVisible") isAdultContentVisible: Boolean,
@Query("page") page: Int,
@Query("size") size: Int,
@Query("sort-type") sort: AudioContentViewModel.Sort,

View File

@ -46,6 +46,7 @@ class AudioContentRepository(
) = api.getAudioContentList(
id = id,
categoryId = categoryId,
isAdultContentVisible = SharedPreferenceManager.isAdultContentVisible,
page = page - 1,
size = size,
sort = sort,