Fix background crash in mass migration screen

(cherry picked from commit 63943debc2fd4efa1a0418bbfefaea93a24b49fd)
This commit is contained in:
AntsyLich
2025-06-20 17:27:17 +06:00
committed by NGB-Was-Taken
parent f916e94a4c
commit 43abc6c797
@@ -6,8 +6,6 @@ import androidx.compose.runtime.Composable
import androidx.compose.runtime.LaunchedEffect
import androidx.compose.runtime.collectAsState
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.setValue
import androidx.compose.ui.platform.LocalContext
import cafe.adriel.voyager.core.model.rememberScreenModel
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() {
private var matchOverride: Pair<Long, Long>? by mutableStateOf(null)
private var matchOverride: Pair<Long, Long>? = null
fun addMatchOverride(current: Long, target: Long) {
matchOverride = current to target