콘텐츠 메인
- 테마에 오디오북 추가
This commit is contained in:
@@ -29,7 +29,6 @@ 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 != "슬립콜" &&
|
||||||
@@ -76,7 +75,6 @@ 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 != "슬립콜" &&
|
||||||
|
|||||||
@@ -43,7 +43,6 @@ class AudioContentMainTabContentService(
|
|||||||
// 새로운 단편 테마
|
// 새로운 단편 테마
|
||||||
val themeOfContentList = audioContentThemeRepository.getActiveThemeOfContent(isAdult = isAdult)
|
val themeOfContentList = audioContentThemeRepository.getActiveThemeOfContent(isAdult = isAdult)
|
||||||
.filter {
|
.filter {
|
||||||
it != "오디오북" &&
|
|
||||||
it != "모닝콜" &&
|
it != "모닝콜" &&
|
||||||
it != "알람" &&
|
it != "알람" &&
|
||||||
it != "슬립콜" &&
|
it != "슬립콜" &&
|
||||||
@@ -172,7 +171,6 @@ 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 != "슬립콜" &&
|
||||||
|
|||||||
@@ -56,7 +56,6 @@ 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 != "슬립콜" &&
|
||||||
@@ -157,7 +156,6 @@ class AudioContentMainTabFreeService(
|
|||||||
isFree = true
|
isFree = true
|
||||||
)
|
)
|
||||||
.filter {
|
.filter {
|
||||||
it != "오디오북" &&
|
|
||||||
it != "모닝콜" &&
|
it != "모닝콜" &&
|
||||||
it != "알람" &&
|
it != "알람" &&
|
||||||
it != "슬립콜" &&
|
it != "슬립콜" &&
|
||||||
|
|||||||
Reference in New Issue
Block a user