From 7c5fe16b529d73b870b8271fa033f9a1604fd307 Mon Sep 17 00:00:00 2001 From: AntsyLich <59261191+AntsyLich@users.noreply.github.com> Date: Wed, 25 Feb 2026 17:15:13 +0600 Subject: [PATCH] Fix migration dialog not showing for consecutive prompts from the same screen (mihonapp/mihon#2994) (cherry picked from commit 8b2d35f3068a3f9c5e1bba77ed825ae51531c91c) --- CHANGELOG.md | 1 + .../java/mihon/feature/migration/dialog/MigrateMangaDialog.kt | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6773b7c4e..f1eac5f3d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -40,6 +40,7 @@ The format is a modified version of [Keep a Changelog](https://keepachangelog.co - Fix crash when trying to install/update extensions while shizuku is not running ([@NGB-Was-Taken](https://github.com/NGB-Was-Taken)) ([#2837](https://github.com/mihonapp/mihon/pull/2837)) - Fix Add Repo input not taking up the full dialog width ([@cuong-tran](https://github.com/cuong-tran)) ([#2816](https://github.com/mihonapp/mihon/pull/2816)) - Fix migration's selected sources order not preserved ([@AntsyLich](https://github.com/AntsyLich)) ([#2773](https://github.com/mihonapp/mihon/pull/2993)) +- Fix migration dialog not showing for consecutive prompts from the same screen ([@AntsyLich](https://github.com/AntsyLich)) ([#2773](https://github.com/mihonapp/mihon/pull/2994)) ### Other - Enable logcat logging on stable and debug builds without enabling verbose logging ([@NGB-Was-Taken](https://github.com/NGB-Was-Taken)) ([#2836](https://github.com/mihonapp/mihon/pull/2836)) diff --git a/app/src/main/java/mihon/feature/migration/dialog/MigrateMangaDialog.kt b/app/src/main/java/mihon/feature/migration/dialog/MigrateMangaDialog.kt index 5086d056b..4a65dd0e8 100644 --- a/app/src/main/java/mihon/feature/migration/dialog/MigrateMangaDialog.kt +++ b/app/src/main/java/mihon/feature/migration/dialog/MigrateMangaDialog.kt @@ -154,12 +154,11 @@ private class MigrateDialogScreenModel( } val selectedFlags = sourcePreference.migrationFlags().get() mutableState.update { - it.copy( + State( current = current, target = target, applicableFlags = applicableFlags, selectedFlags = selectedFlags, - isMigrated = false, ) } }