Use the clear selection function to destroy the action mode
This commit is contained in:
parent
d04161cc9e
commit
96a932264b
1 changed files with 1 additions and 1 deletions
|
|
@ -549,7 +549,7 @@ class LibraryController(
|
|||
R.id.action_migrate -> {
|
||||
val skipPre = preferences.skipPreMigration().get()
|
||||
val selectedMangaIds = selectedMangas.filterNot { it.source == MERGED_SOURCE_ID }.mapNotNull { it.id }
|
||||
destroyActionModeIfNeeded()
|
||||
clearSelection()
|
||||
if (selectedMangaIds.isNotEmpty()) {
|
||||
PreMigrationController.navigateToMigration(skipPre, router, selectedMangaIds)
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue