큐레이션 콘텐츠
- 남성향이면 여성 크리에이터, 여성향이면 남성 크리에이터 작품만 조회되도록 수정
This commit is contained in:
@@ -35,7 +35,7 @@ android {
|
|||||||
applicationId "kr.co.vividnext.sodalive"
|
applicationId "kr.co.vividnext.sodalive"
|
||||||
minSdk 23
|
minSdk 23
|
||||||
targetSdk 34
|
targetSdk 34
|
||||||
versionCode 113
|
versionCode 115
|
||||||
versionName "1.21.1"
|
versionName "1.21.1"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -174,6 +174,8 @@ interface AudioContentApi {
|
|||||||
@GET("/audio-content/curation/{id}")
|
@GET("/audio-content/curation/{id}")
|
||||||
fun getAudioContentListByCurationId(
|
fun getAudioContentListByCurationId(
|
||||||
@Path("id") id: Long,
|
@Path("id") id: Long,
|
||||||
|
@Query("isAdultContentVisible") isAdultContentVisible: Boolean,
|
||||||
|
@Query("contentType") contentType: ContentType,
|
||||||
@Query("page") page: Int,
|
@Query("page") page: Int,
|
||||||
@Query("size") size: Int,
|
@Query("size") size: Int,
|
||||||
@Query("sort-type") sort: AudioContentViewModel.Sort,
|
@Query("sort-type") sort: AudioContentViewModel.Sort,
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ class AudioContentRepository(
|
|||||||
token: String
|
token: String
|
||||||
) = api.getAudioContentListByCurationId(
|
) = api.getAudioContentListByCurationId(
|
||||||
id = curationId,
|
id = curationId,
|
||||||
|
isAdultContentVisible = SharedPreferenceManager.isAdultContentVisible,
|
||||||
|
contentType = ContentType.values()[SharedPreferenceManager.contentPreference],
|
||||||
page = page - 1,
|
page = page - 1,
|
||||||
size = size,
|
size = size,
|
||||||
sort = sort,
|
sort = sort,
|
||||||
|
|||||||
Reference in New Issue
Block a user