parent
90ff8ceb72
commit
1f7f3bfdb1
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue