Use mangaIds

No need to create new `mangaIdsList` variable, because mangaIds is the same
This commit is contained in:
NBA2K1 2026-04-12 17:20:39 +02:00
parent 81123dc3cb
commit 31409bfb3c

View file

@ -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(