refactor: remove superseded code paths

This commit is contained in:
edde746
2026-07-12 08:42:19 +02:00
parent dca51a752a
commit bc55aea701
11 changed files with 14 additions and 365 deletions
-8
View File
@@ -178,14 +178,6 @@ class _SeasonEpisodePager {
}
}
void updateEpisode(String seasonId, int index, MediaItem updated) {
final state = _states[seasonId];
if (state == null || index < 0 || index >= state.items.length) return;
final next = List<MediaItem>.of(state.items);
next[index] = updated;
_states[seasonId] = state.replaceItems(next);
}
void patchEpisode(String episodeId, MediaItem Function(MediaItem existing) patch) {
for (final entry in _states.entries.toList()) {
var changed = false;