Fix: selection-mode was turned on after add-anyway using Duplicate dialog in Bulk-favorite
This commit is contained in:
parent
271680bd03
commit
8d94c09a43
1 changed files with 3 additions and 1 deletions
|
|
@ -483,7 +483,9 @@ fun AddDuplicateMangaDialog(bulkFavoriteScreenModel: BulkFavoriteScreenModel) {
|
|||
duplicates = dialog.duplicates,
|
||||
onDismissRequest = bulkFavoriteScreenModel::dismissDialog,
|
||||
onConfirm = {
|
||||
bulkFavoriteScreenModel.toggleSelectionMode()
|
||||
if (bulkFavoriteState.selectionMode) {
|
||||
bulkFavoriteScreenModel.toggleSelectionMode()
|
||||
}
|
||||
bulkFavoriteScreenModel.addFavorite(dialog.manga)
|
||||
},
|
||||
onOpenManga = { navigator.push(MangaScreen(it.id)) },
|
||||
|
|
|
|||
Loading…
Reference in a new issue