mirror of
https://github.com/mihonapp/mihon.git
synced 2025-06-27 11:37:51 +02:00
Fix background crash in mass migration screen
This commit is contained in:
@ -6,8 +6,6 @@ import androidx.compose.runtime.Composable
|
|||||||
import androidx.compose.runtime.LaunchedEffect
|
import androidx.compose.runtime.LaunchedEffect
|
||||||
import androidx.compose.runtime.collectAsState
|
import androidx.compose.runtime.collectAsState
|
||||||
import androidx.compose.runtime.getValue
|
import androidx.compose.runtime.getValue
|
||||||
import androidx.compose.runtime.mutableStateOf
|
|
||||||
import androidx.compose.runtime.setValue
|
|
||||||
import androidx.compose.ui.platform.LocalContext
|
import androidx.compose.ui.platform.LocalContext
|
||||||
import cafe.adriel.voyager.core.model.rememberScreenModel
|
import cafe.adriel.voyager.core.model.rememberScreenModel
|
||||||
import cafe.adriel.voyager.navigator.LocalNavigator
|
import cafe.adriel.voyager.navigator.LocalNavigator
|
||||||
@ -23,7 +21,7 @@ import tachiyomi.i18n.MR
|
|||||||
|
|
||||||
class MigrationListScreen(private val mangaIds: List<Long>, private val extraSearchQuery: String?) : Screen() {
|
class MigrationListScreen(private val mangaIds: List<Long>, private val extraSearchQuery: String?) : Screen() {
|
||||||
|
|
||||||
private var matchOverride: Pair<Long, Long>? by mutableStateOf(null)
|
private var matchOverride: Pair<Long, Long>? = null
|
||||||
|
|
||||||
fun addMatchOverride(current: Long, target: Long) {
|
fun addMatchOverride(current: Long, target: Long) {
|
||||||
matchOverride = current to target
|
matchOverride = current to target
|
||||||
|
Reference in New Issue
Block a user