Skip to content
This repository was archived by the owner on Apr 3, 2025. It is now read-only.

Commit 335aaa3

Browse files
committed
fix(sonarr): remove duplicate episode file IDs on multi-select deletion
1 parent 021a08e commit 335aaa3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/modules/sonarr/core/types/settings_episode_multi.dart

+1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ enum SonarrEpisodeMultiSettingsType {
4141
final episodeIds = episodes
4242
.filter((ep) => ep.episodeFileId != null && ep.episodeFileId != 0)
4343
.map((ep) => ep.episodeFileId!)
44+
.toSet()
4445
.toList();
4546
await SonarrAPIController().deleteEpisodes(
4647
context: context,

0 commit comments

Comments
 (0)