콘텐츠 메인
- 테마에 오디오북 추가
This commit is contained in:
@@ -29,8 +29,7 @@ class AudioContentMainService(
|
|||||||
fun getThemeList(isAdult: Boolean): List<String> {
|
fun getThemeList(isAdult: Boolean): List<String> {
|
||||||
return audioContentThemeRepository.getActiveThemeOfContent(isAdult = isAdult)
|
return audioContentThemeRepository.getActiveThemeOfContent(isAdult = isAdult)
|
||||||
.filter {
|
.filter {
|
||||||
it != "오디오북" &&
|
it != "모닝콜" &&
|
||||||
it != "모닝콜" &&
|
|
||||||
it != "알람" &&
|
it != "알람" &&
|
||||||
it != "슬립콜" &&
|
it != "슬립콜" &&
|
||||||
it != "다시듣기" &&
|
it != "다시듣기" &&
|
||||||
@@ -76,8 +75,7 @@ class AudioContentMainService(
|
|||||||
val themeList = if (theme.isBlank()) {
|
val themeList = if (theme.isBlank()) {
|
||||||
audioContentThemeRepository.getActiveThemeOfContent(isAdult = isAdult, isFree = isFree)
|
audioContentThemeRepository.getActiveThemeOfContent(isAdult = isAdult, isFree = isFree)
|
||||||
.filter {
|
.filter {
|
||||||
it != "오디오북" &&
|
it != "모닝콜" &&
|
||||||
it != "모닝콜" &&
|
|
||||||
it != "알람" &&
|
it != "알람" &&
|
||||||
it != "슬립콜" &&
|
it != "슬립콜" &&
|
||||||
it != "다시듣기" &&
|
it != "다시듣기" &&
|
||||||
|
|||||||
@@ -43,8 +43,7 @@ class AudioContentMainTabContentService(
|
|||||||
// 새로운 단편 테마
|
// 새로운 단편 테마
|
||||||
val themeOfContentList = audioContentThemeRepository.getActiveThemeOfContent(isAdult = isAdult)
|
val themeOfContentList = audioContentThemeRepository.getActiveThemeOfContent(isAdult = isAdult)
|
||||||
.filter {
|
.filter {
|
||||||
it != "오디오북" &&
|
it != "모닝콜" &&
|
||||||
it != "모닝콜" &&
|
|
||||||
it != "알람" &&
|
it != "알람" &&
|
||||||
it != "슬립콜" &&
|
it != "슬립콜" &&
|
||||||
it != "다시듣기" &&
|
it != "다시듣기" &&
|
||||||
@@ -172,8 +171,7 @@ class AudioContentMainTabContentService(
|
|||||||
val themeList = if (theme.isBlank()) {
|
val themeList = if (theme.isBlank()) {
|
||||||
audioContentThemeRepository.getActiveThemeOfContent(isAdult = isAdult)
|
audioContentThemeRepository.getActiveThemeOfContent(isAdult = isAdult)
|
||||||
.filter {
|
.filter {
|
||||||
it != "오디오북" &&
|
it != "모닝콜" &&
|
||||||
it != "모닝콜" &&
|
|
||||||
it != "알람" &&
|
it != "알람" &&
|
||||||
it != "슬립콜" &&
|
it != "슬립콜" &&
|
||||||
it != "다시듣기" &&
|
it != "다시듣기" &&
|
||||||
|
|||||||
@@ -56,8 +56,7 @@ class AudioContentMainTabFreeService(
|
|||||||
|
|
||||||
val themeList = audioContentThemeRepository.getActiveThemeOfContent(isAdult = isAdult, isFree = true)
|
val themeList = audioContentThemeRepository.getActiveThemeOfContent(isAdult = isAdult, isFree = true)
|
||||||
.filter {
|
.filter {
|
||||||
it != "오디오북" &&
|
it != "모닝콜" &&
|
||||||
it != "모닝콜" &&
|
|
||||||
it != "알람" &&
|
it != "알람" &&
|
||||||
it != "슬립콜" &&
|
it != "슬립콜" &&
|
||||||
it != "다시듣기" &&
|
it != "다시듣기" &&
|
||||||
@@ -157,8 +156,7 @@ class AudioContentMainTabFreeService(
|
|||||||
isFree = true
|
isFree = true
|
||||||
)
|
)
|
||||||
.filter {
|
.filter {
|
||||||
it != "오디오북" &&
|
it != "모닝콜" &&
|
||||||
it != "모닝콜" &&
|
|
||||||
it != "알람" &&
|
it != "알람" &&
|
||||||
it != "슬립콜" &&
|
it != "슬립콜" &&
|
||||||
it != "다시듣기" &&
|
it != "다시듣기" &&
|
||||||
|
|||||||
Reference in New Issue
Block a user