From 829bd8a7e55635d3b58b2506e1d969e19b94d69a Mon Sep 17 00:00:00 2001 From: schroda <50052685+schroda@users.noreply.github.com> Date: Sun, 21 Jun 2026 13:28:14 +0200 Subject: [PATCH] Collapse "other matches" if only result gets selected --- CHANGELOG.md | 1 + src/features/migration/MigrationManager.ts | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a80c8277..51b29468 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -56,6 +56,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). - (**Migration**) Fix being able to migrate an entry to itself - (**Migration**) Fix resuming migration when app is opened in multiple tabs - (**Migration**) Fix showing "All source searches failed" error while the entry has a selected destination source or matches were found +- (**Migration**) Fix showing empty expanded "other matches" when selecting the only match - (**Reader**) Fix scrollbar appearing with "fit to widt/height/screen" page scale mode and applied safe area insets - (**Reader**) Fix wrongly positioned mobile progress bar current page indicator - (**Reader**) Fix mobile progress bar previous/next chapter button visibility on hover and while disabled diff --git a/src/features/migration/MigrationManager.ts b/src/features/migration/MigrationManager.ts index 178edb40..f16d8827 100644 --- a/src/features/migration/MigrationManager.ts +++ b/src/features/migration/MigrationManager.ts @@ -665,6 +665,10 @@ export class MigrationManager { MigrationManager.updateState((draft) => { const entry = draft.entries[mangaId]; if (entry) { + if (entry.selectedMatchMangaId === null && (entry.searchMatches.length || entry.manualMatches.length)) { + entry.areMatchesExpanded = false; + } + entry.status = MigrationEntryStatus.SEARCH_COMPLETE; entry.isManualSelection = true; entry.selectedMatchMangaId = targetMangaId;