feat(content): 전체 탭 외부 선택을 추가한다

This commit is contained in:
2026-06-27 06:32:31 +09:00
parent 5099795d29
commit 43e90ed47b
2 changed files with 71 additions and 0 deletions

View File

@@ -63,6 +63,13 @@ class ContentAllTabViewModel(
loadFirstPage(selectedType, sort, selectedDayOfWeekFor(selectedType))
}
fun selectTypeAndSort(type: MainContentAllType, sort: ContentSort) {
selectedType = type
selectedSort = sort
selectedDayOfWeek = selectedDayOfWeekFor(type)
loadFirstPage(type, sort, selectedDayOfWeek)
}
fun changeDayOfWeek(dayOfWeek: SeriesPublishedDaysOfWeek) {
if (!selectedType.usesDayOfWeekQuery()) return