|
@@ -32,10 +32,10 @@ import cafe.adriel.voyager.core.model.ScreenModel
|
|
|
import cafe.adriel.voyager.core.model.StateScreenModel
|
|
|
import cafe.adriel.voyager.core.model.coroutineScope
|
|
|
import cafe.adriel.voyager.core.model.rememberScreenModel
|
|
|
-import cafe.adriel.voyager.core.screen.Screen
|
|
|
import cafe.adriel.voyager.navigator.LocalNavigator
|
|
|
import cafe.adriel.voyager.navigator.Navigator
|
|
|
import cafe.adriel.voyager.navigator.currentOrThrow
|
|
|
+import eu.kanade.core.navigation.Screen
|
|
|
import eu.kanade.domain.chapter.interactor.SyncChaptersWithTrackServiceTwoWay
|
|
|
import eu.kanade.domain.track.model.toDbTrack
|
|
|
import eu.kanade.domain.track.model.toDomainTrack
|
|
@@ -83,7 +83,7 @@ data class TrackInfoDialogHomeScreen(
|
|
|
private val mangaId: Long,
|
|
|
private val mangaTitle: String,
|
|
|
private val sourceId: Long,
|
|
|
-) : Screen {
|
|
|
+) : Screen() {
|
|
|
|
|
|
@Composable
|
|
|
override fun Content() {
|
|
@@ -265,7 +265,7 @@ data class TrackInfoDialogHomeScreen(
|
|
|
private data class TrackStatusSelectorScreen(
|
|
|
private val track: Track,
|
|
|
private val serviceId: Long,
|
|
|
-) : Screen {
|
|
|
+) : Screen() {
|
|
|
|
|
|
@Composable
|
|
|
override fun Content() {
|
|
@@ -314,7 +314,7 @@ private data class TrackStatusSelectorScreen(
|
|
|
private data class TrackChapterSelectorScreen(
|
|
|
private val track: Track,
|
|
|
private val serviceId: Long,
|
|
|
-) : Screen {
|
|
|
+) : Screen() {
|
|
|
|
|
|
@Composable
|
|
|
override fun Content() {
|
|
@@ -369,7 +369,7 @@ private data class TrackChapterSelectorScreen(
|
|
|
private data class TrackScoreSelectorScreen(
|
|
|
private val track: Track,
|
|
|
private val serviceId: Long,
|
|
|
-) : Screen {
|
|
|
+) : Screen() {
|
|
|
|
|
|
@Composable
|
|
|
override fun Content() {
|
|
@@ -420,7 +420,7 @@ private data class TrackDateSelectorScreen(
|
|
|
private val track: Track,
|
|
|
private val serviceId: Long,
|
|
|
private val start: Boolean,
|
|
|
-) : Screen {
|
|
|
+) : Screen() {
|
|
|
|
|
|
@Composable
|
|
|
override fun Content() {
|
|
@@ -514,7 +514,7 @@ private data class TrackDateRemoverScreen(
|
|
|
private val track: Track,
|
|
|
private val serviceId: Long,
|
|
|
private val start: Boolean,
|
|
|
-) : Screen {
|
|
|
+) : Screen() {
|
|
|
|
|
|
@Composable
|
|
|
override fun Content() {
|
|
@@ -597,7 +597,7 @@ data class TrackServiceSearchScreen(
|
|
|
private val initialQuery: String,
|
|
|
private val currentUrl: String?,
|
|
|
private val serviceId: Long,
|
|
|
-) : Screen {
|
|
|
+) : Screen() {
|
|
|
|
|
|
@Composable
|
|
|
override fun Content() {
|