mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-21 20:47:03 -05:00
parent
6263817bb4
commit
46774771ec
1 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@ import eu.kanade.tachiyomi.ui.manga.MangaScreen
|
||||||
import eu.kanade.tachiyomi.ui.reader.ReaderActivity
|
import eu.kanade.tachiyomi.ui.reader.ReaderActivity
|
||||||
import kotlinx.coroutines.channels.Channel
|
import kotlinx.coroutines.channels.Channel
|
||||||
import kotlinx.coroutines.flow.collectLatest
|
import kotlinx.coroutines.flow.collectLatest
|
||||||
import kotlinx.coroutines.flow.consumeAsFlow
|
import kotlinx.coroutines.flow.receiveAsFlow
|
||||||
|
|
||||||
object HistoryTab : Tab {
|
object HistoryTab : Tab {
|
||||||
|
|
||||||
|
@ -110,7 +110,7 @@ object HistoryTab : Tab {
|
||||||
}
|
}
|
||||||
|
|
||||||
LaunchedEffect(Unit) {
|
LaunchedEffect(Unit) {
|
||||||
resumeLastChapterReadEvent.consumeAsFlow().collectLatest {
|
resumeLastChapterReadEvent.receiveAsFlow().collectLatest {
|
||||||
openChapter(context, screenModel.getNextChapter())
|
openChapter(context, screenModel.getNextChapter())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue