mirror of
https://github.com/kodjodevf/mangayomi.git
synced 2026-05-23 11:42:14 +00:00
Use mangaIds
No need to create new `mangaIdsList` variable, because mangaIds is the same
This commit is contained in:
parent
81123dc3cb
commit
31409bfb3c
1 changed files with 1 additions and 2 deletions
|
|
@ -452,8 +452,7 @@ class _LibraryScreenState extends ConsumerState<LibraryScreen>
|
|||
BottomSelectButton(
|
||||
icon: Icon(Icons.label_outline_rounded, color: color),
|
||||
onPressed: () {
|
||||
final mangaIdsList = ref.watch(mangasListStateProvider);
|
||||
final List<Manga> bulkMangas = mangaIdsList
|
||||
final List<Manga> bulkMangas = mangaIds
|
||||
.map((id) => isar.mangas.getSync(id)!)
|
||||
.toList();
|
||||
showCategorySelectionDialog(
|
||||
|
|
|
|||
Loading…
Reference in a new issue