mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
docs(reader/transition): Add todo
This commit is contained in:
parent
9ab5aaf1be
commit
c0bf67eabd
2 changed files with 6 additions and 8 deletions
|
@ -12,10 +12,6 @@ import androidx.appcompat.widget.AppCompatTextView
|
|||
import androidx.compose.material3.CircularProgressIndicator
|
||||
import androidx.compose.ui.platform.ComposeView
|
||||
import androidx.core.view.updatePaddingRelative
|
||||
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.ui.reader.model.ChapterTransition
|
||||
import eu.kanade.tachiyomi.ui.reader.model.ReaderChapter
|
||||
import eu.kanade.tachiyomi.ui.reader.viewer.ReaderButton
|
||||
|
@ -27,7 +23,9 @@ import kotlinx.coroutines.Job
|
|||
import kotlinx.coroutines.MainScope
|
||||
import kotlinx.coroutines.flow.collectLatest
|
||||
import kotlinx.coroutines.launch
|
||||
import yokai.i18n.MR
|
||||
import yokai.presentation.theme.YokaiTheme
|
||||
import yokai.util.lang.getString
|
||||
|
||||
/**
|
||||
* View of the ViewPager that contains a chapter transition.
|
||||
|
@ -111,6 +109,7 @@ class PagerTransitionHolder(
|
|||
* Sets the loading state on the pages container.
|
||||
*/
|
||||
private fun setLoading() {
|
||||
// FIXME: Seems to be overflowing
|
||||
val progress = ComposeView(context).apply {
|
||||
setContent {
|
||||
YokaiTheme { CircularProgressIndicator() }
|
||||
|
|
|
@ -11,10 +11,6 @@ import androidx.compose.material3.CircularProgressIndicator
|
|||
import androidx.compose.ui.platform.ComposeView
|
||||
import androidx.core.view.isNotEmpty
|
||||
import androidx.core.view.isVisible
|
||||
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.ui.reader.model.ChapterTransition
|
||||
import eu.kanade.tachiyomi.ui.reader.model.ReaderChapter
|
||||
import eu.kanade.tachiyomi.ui.reader.viewer.ReaderTransitionView
|
||||
|
@ -24,7 +20,9 @@ import kotlinx.coroutines.Job
|
|||
import kotlinx.coroutines.MainScope
|
||||
import kotlinx.coroutines.flow.collectLatest
|
||||
import kotlinx.coroutines.launch
|
||||
import yokai.i18n.MR
|
||||
import yokai.presentation.theme.YokaiTheme
|
||||
import yokai.util.lang.getString
|
||||
|
||||
/**
|
||||
* Holder of the webtoon viewer that contains a chapter transition.
|
||||
|
@ -109,6 +107,7 @@ class WebtoonTransitionHolder(
|
|||
* Sets the loading state on the pages container.
|
||||
*/
|
||||
private fun setLoading() {
|
||||
// FIXME: Seems to be overflowing
|
||||
val progress = ComposeView(context).apply {
|
||||
setContent {
|
||||
YokaiTheme { CircularProgressIndicator() }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue