parent
fd2bf762da
commit
1457da270e
|
@ -7,6 +7,7 @@ sort_by_filter_views=Views
|
|||
sort_by_filter_updated=Updated
|
||||
sort_by_filter_added=Added
|
||||
status_filter_title=Status
|
||||
status_filter_all=All
|
||||
status_filter_ongoing=Ongoing
|
||||
status_filter_hiatus=Hiatus
|
||||
status_filter_dropped=Dropped
|
||||
|
|
|
@ -7,6 +7,7 @@ sort_by_filter_views=Vistas
|
|||
sort_by_filter_updated=Actualización
|
||||
sort_by_filter_added=Agregado
|
||||
status_filter_title=Estado
|
||||
status_filter_all=Todos
|
||||
status_filter_ongoing=En curso
|
||||
status_filter_hiatus=En pausa
|
||||
status_filter_dropped=Abandonado
|
||||
|
|
|
@ -2,7 +2,7 @@ plugins {
|
|||
id("lib-multisrc")
|
||||
}
|
||||
|
||||
baseVersionCode = 2
|
||||
baseVersionCode = 3
|
||||
|
||||
dependencies {
|
||||
api(project(":lib:i18n"))
|
||||
|
|
|
@ -127,7 +127,9 @@ abstract class MangaEsp(
|
|||
val statusFilter = filterList.firstInstanceOrNull<StatusFilter>()
|
||||
|
||||
if (statusFilter != null) {
|
||||
filteredList = filteredList.filter { it.status == statusFilter.toUriPart() }.toMutableList()
|
||||
if (statusFilter.toUriPart() != 0) {
|
||||
filteredList = filteredList.filter { it.status == statusFilter.toUriPart() }.toMutableList()
|
||||
}
|
||||
}
|
||||
|
||||
val sortByFilter = filterList.firstInstanceOrNull<SortByFilter>()
|
||||
|
@ -216,6 +218,7 @@ abstract class MangaEsp(
|
|||
)
|
||||
|
||||
protected open fun getStatusList() = arrayOf(
|
||||
Pair(intl["status_filter_all"], 0),
|
||||
Pair(intl["status_filter_ongoing"], 1),
|
||||
Pair(intl["status_filter_hiatus"], 2),
|
||||
Pair(intl["status_filter_dropped"], 3),
|
||||
|
|
Loading…
Reference in New Issue