mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 02:34:39 +00:00
docs(library): Note [skip ci]
This commit is contained in:
parent
45063d8830
commit
747d422ac7
1 changed files with 10 additions and 4 deletions
|
@ -1,9 +1,5 @@
|
|||
package eu.kanade.tachiyomi.ui.library
|
||||
|
||||
import eu.kanade.tachiyomi.R
|
||||
import yokai.i18n.MR
|
||||
import yokai.util.lang.getString
|
||||
import dev.icerock.moko.resources.compose.stringResource
|
||||
import eu.kanade.tachiyomi.core.preference.minusAssign
|
||||
import eu.kanade.tachiyomi.core.preference.plusAssign
|
||||
import eu.kanade.tachiyomi.data.cache.CoverCache
|
||||
|
@ -71,7 +67,9 @@ import yokai.domain.manga.interactor.GetLibraryManga
|
|||
import yokai.domain.manga.interactor.GetManga
|
||||
import yokai.domain.manga.interactor.UpdateManga
|
||||
import yokai.domain.manga.models.MangaUpdate
|
||||
import yokai.i18n.MR
|
||||
import yokai.util.isLewd
|
||||
import yokai.util.lang.getString
|
||||
import java.util.*
|
||||
import java.util.concurrent.*
|
||||
import kotlin.math.roundToInt
|
||||
|
@ -948,6 +946,14 @@ class LibraryPresenter(
|
|||
return categories.associateWith { items[it.id] ?: emptyList() }.filter { it.value.isNotEmpty() }
|
||||
}
|
||||
|
||||
// FIXME: Seems like it's impossible to redirect current implementation to getLibraryFlow(), simply because of how
|
||||
// J2K implements the library UI, both "Show all categories" (not to be confused with "Ungrouped") and
|
||||
// "Show one category at a time" share the same data, which explains why J2K use blankItem instead of checking if
|
||||
// list is empty to show the user if the category is empty or not. Understandable tbh, since it's pretty painful to
|
||||
// maintain these two option on pre-Compose.
|
||||
// ;
|
||||
// Seems like I'll need to completely convert the UI to Compose first.
|
||||
|
||||
/**
|
||||
* Library's flow.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue