mangayomi-mirror/lib/modules/library/providers
NBA2K1 81123dc3cb Change the MangasListStateProvider to Set<int>
MangasListState previously stored selected manga IDs as List<int>.
Every visible library card called .contains() on that list once per
rebuild to determine its highlight state, making each check O(n) in
the number of selected items. The provider's own update/selectAll/
selectSome methods also used .contains() and .remove() on a List.

Change the state type to Set<int> throughout, making all membership
checks O(1). Updated all consumers: library_gridview_widget,
library_listview_widget, library_app_bar, library_dialogs, and
MangasSetIsReadState.
2026-04-12 23:03:18 +02:00
..
add_torrent.dart refactor 2026-04-07 14:43:39 +01:00
add_torrent.g.dart refactor 2026-04-07 14:43:39 +01:00
file_scanner.dart feat #682 option to split chapter whe importing local epub 2026-04-07 11:55:42 +01:00
file_scanner.g.dart update dependencies & update riverpod provider declarations 2026-01-08 14:27:08 +01:00
isar_providers.dart Refactor and update dependencies for Isar and Riverpod 2025-10-29 13:08:42 +01:00
isar_providers.g.dart update dependencies & update riverpod provider declarations 2026-01-08 14:27:08 +01:00
library_filter_provider.dart feat: Implement app lock feature with biometric authentication 2026-03-04 11:56:49 +01:00
library_filter_provider.g.dart feat: Implement app lock feature with biometric authentication 2026-03-04 11:56:49 +01:00
library_state_provider.dart Change the MangasListStateProvider to Set<int> 2026-04-12 23:03:18 +02:00
library_state_provider.g.dart Change the MangasListStateProvider to Set<int> 2026-04-12 23:03:18 +02:00
local_archive.dart refactor 2026-04-07 14:43:39 +01:00
local_archive.g.dart refactor 2026-04-07 14:43:39 +01:00