* chore: Refactor selection state management and improve performance across various screens * **MigrateMangaScreen**: Refactor state management to use a `Set<Long>` of IDs for selection instead of a list of wrapper items. * **LibraryUpdateErrorScreen**: Simplify `onErrorSelected` signature by removing the unused `userSelected` parameter and clean up related UI components. * **Performance**: Use `remember(state.selection)` in `MigrateMangaScreen` for efficient selection status lookups. * **Code Quality**: Fix minor typos (e.g., `inbetweenItem` to `inBetweenItem`) and optimize imports. * Refactor selection logic to prevent redundant state updates * Move early exit checks for item selection status outside or to the beginning of state update blocks to avoid unnecessary recompositions. * Improve safety and correctness of item selection by returning early from state updates when an item index is not found. * Standardize selection checks across `HistoryScreenModel`, `LibraryUpdateErrorScreenModel`, `MigrateMangaScreenModel`, `UpdatesScreenModel`, and `MangaScreenModel`. * update selection when migration list got updated * Update state management to reset selection and loading status on fetch failure |
||
|---|---|---|
| .. | ||
| src | ||
| build.gradle.kts | ||
| proguard-android-optimize.txt | ||
| proguard-rules.pro | ||
| shortcuts.xml | ||