mangayomi-mirror/lib/modules/library/widgets
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
..
library_app_bar.dart Change the MangasListStateProvider to Set<int> 2026-04-12 23:03:18 +02:00
library_body.dart feat: Implement app lock feature with biometric authentication 2026-03-04 11:56:49 +01:00
library_dialogs.dart Change the MangasListStateProvider to Set<int> 2026-04-12 23:03:18 +02:00
library_gridview_widget.dart Change the MangasListStateProvider to Set<int> 2026-04-12 23:03:18 +02:00
library_listview_widget.dart Change the MangasListStateProvider to Set<int> 2026-04-12 23:03:18 +02:00
library_settings_sheet.dart feat: Implement app lock feature with biometric authentication 2026-03-04 11:56:49 +01:00
list_tile_manga_category.dart dart format 2025-05-30 17:43:42 +01:00
search_text_form_field.dart Don't focus searchbar when migrating 2025-07-12 20:26:31 +02:00