Support mass migration for selected library items (#2336)
This commit is contained in:
@@ -70,7 +70,7 @@ import tachiyomi.presentation.core.util.shouldExpandFAB
|
||||
import uy.kohesive.injekt.Injekt
|
||||
import uy.kohesive.injekt.api.get
|
||||
|
||||
class MigrationConfigScreen(private val mangaIds: List<Long>) : Screen() {
|
||||
class MigrationConfigScreen(private val mangaIds: Collection<Long>) : Screen() {
|
||||
|
||||
constructor(mangaId: Long) : this(listOf(mangaId))
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ import mihon.feature.migration.list.components.MigrationMangaDialog
|
||||
import mihon.feature.migration.list.components.MigrationProgressDialog
|
||||
import tachiyomi.i18n.MR
|
||||
|
||||
class MigrationListScreen(private val mangaIds: List<Long>, private val extraSearchQuery: String?) : Screen() {
|
||||
class MigrationListScreen(private val mangaIds: Collection<Long>, private val extraSearchQuery: String?) : Screen() {
|
||||
|
||||
private var matchOverride: Pair<Long, Long>? = null
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@ import uy.kohesive.injekt.Injekt
|
||||
import uy.kohesive.injekt.api.get
|
||||
|
||||
class MigrationListScreenModel(
|
||||
mangaIds: List<Long>,
|
||||
mangaIds: Collection<Long>,
|
||||
extraSearchQuery: String?,
|
||||
private val preferences: SourcePreferences = Injekt.get(),
|
||||
private val sourceManager: SourceManager = Injekt.get(),
|
||||
|
||||
Reference in New Issue
Block a user