diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/player/PlayerViewModel.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/player/PlayerViewModel.kt index 02c1ad231..437d14bd1 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/player/PlayerViewModel.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/player/PlayerViewModel.kt @@ -11,9 +11,6 @@ import eu.kanade.domain.base.BasePreferences import eu.kanade.domain.entries.anime.interactor.SetAnimeViewerFlags import eu.kanade.domain.items.episode.model.toDbEpisode import eu.kanade.domain.track.anime.interactor.TrackEpisode -import eu.kanade.domain.track.anime.model.toDbTrack -import eu.kanade.domain.track.anime.service.DelayedAnimeTrackingUpdateJob -import eu.kanade.domain.track.anime.store.DelayedAnimeTrackingStore import eu.kanade.domain.track.service.TrackPreferences import eu.kanade.domain.ui.UiPreferences import eu.kanade.tachiyomi.animesource.AnimeSource @@ -43,10 +40,7 @@ import eu.kanade.tachiyomi.util.lang.byteSize import eu.kanade.tachiyomi.util.lang.takeBytes import eu.kanade.tachiyomi.util.storage.DiskUtil import eu.kanade.tachiyomi.util.storage.cacheImageDir -import eu.kanade.tachiyomi.util.system.isOnline import `is`.xyz.mpv.Utils -import kotlinx.coroutines.async -import kotlinx.coroutines.awaitAll import kotlinx.coroutines.channels.Channel import kotlinx.coroutines.flow.MutableStateFlow import kotlinx.coroutines.flow.asStateFlow @@ -71,7 +65,6 @@ import tachiyomi.domain.items.episode.model.EpisodeUpdate import tachiyomi.domain.items.episode.service.getEpisodeSort import tachiyomi.domain.source.anime.service.AnimeSourceManager import tachiyomi.domain.track.anime.interactor.GetAnimeTracks -import tachiyomi.domain.track.anime.interactor.InsertAnimeTrack import tachiyomi.source.local.entries.anime.isLocal import uy.kohesive.injekt.Injekt import uy.kohesive.injekt.api.get diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderViewModel.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderViewModel.kt index d78e3dacf..818ba08cd 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderViewModel.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/reader/ReaderViewModel.kt @@ -12,9 +12,6 @@ import eu.kanade.domain.entries.manga.model.orientationType import eu.kanade.domain.entries.manga.model.readingModeType import eu.kanade.domain.items.chapter.model.toDbChapter import eu.kanade.domain.track.manga.interactor.TrackChapter -import eu.kanade.domain.track.manga.model.toDbTrack -import eu.kanade.domain.track.manga.service.DelayedMangaTrackingUpdateJob -import eu.kanade.domain.track.manga.store.DelayedMangaTrackingStore import eu.kanade.domain.track.service.TrackPreferences import eu.kanade.tachiyomi.data.database.models.manga.toDomainChapter import eu.kanade.tachiyomi.data.download.manga.MangaDownloadManager @@ -23,7 +20,6 @@ import eu.kanade.tachiyomi.data.download.manga.model.MangaDownload import eu.kanade.tachiyomi.data.saver.Image import eu.kanade.tachiyomi.data.saver.ImageSaver import eu.kanade.tachiyomi.data.saver.Location -import eu.kanade.tachiyomi.data.track.TrackManager import eu.kanade.tachiyomi.source.model.Page import eu.kanade.tachiyomi.source.online.HttpSource import eu.kanade.tachiyomi.ui.reader.loader.ChapterLoader @@ -44,11 +40,8 @@ import eu.kanade.tachiyomi.util.lang.byteSize import eu.kanade.tachiyomi.util.lang.takeBytes import eu.kanade.tachiyomi.util.storage.DiskUtil import eu.kanade.tachiyomi.util.storage.cacheImageDir -import eu.kanade.tachiyomi.util.system.isOnline import kotlinx.coroutines.CancellationException import kotlinx.coroutines.Dispatchers -import kotlinx.coroutines.async -import kotlinx.coroutines.awaitAll import kotlinx.coroutines.channels.Channel import kotlinx.coroutines.flow.MutableStateFlow import kotlinx.coroutines.flow.asStateFlow @@ -78,8 +71,6 @@ import tachiyomi.domain.items.chapter.interactor.UpdateChapter import tachiyomi.domain.items.chapter.model.ChapterUpdate import tachiyomi.domain.items.chapter.service.getChapterSort import tachiyomi.domain.source.manga.service.MangaSourceManager -import tachiyomi.domain.track.manga.interactor.GetMangaTracks -import tachiyomi.domain.track.manga.interactor.InsertMangaTrack import tachiyomi.source.local.entries.manga.isLocal import uy.kohesive.injekt.Injekt import uy.kohesive.injekt.api.get