diff --git a/Application/Sources/ProgramGuide/ProgramGuideDailyViewController.swift b/Application/Sources/ProgramGuide/ProgramGuideDailyViewController.swift index f054ffc17..425533715 100644 --- a/Application/Sources/ProgramGuide/ProgramGuideDailyViewController.swift +++ b/Application/Sources/ProgramGuide/ProgramGuideDailyViewController.swift @@ -32,7 +32,7 @@ final class ProgramGuideDailyViewController: UIViewController { var snapshot = NSDiffableDataSourceSnapshot() if let channel { snapshot.appendSections([channel]) - snapshot.appendItems(state.items(for: channel), toSection: channel) + snapshot.appendItems(removeDuplicates(in: state.items(for: channel)), toSection: channel) } return snapshot } diff --git a/Application/Sources/ProgramGuide/ProgramGuideGridViewController.swift b/Application/Sources/ProgramGuide/ProgramGuideGridViewController.swift index aab387873..d4b0f0589 100644 --- a/Application/Sources/ProgramGuide/ProgramGuideGridViewController.swift +++ b/Application/Sources/ProgramGuide/ProgramGuideGridViewController.swift @@ -26,7 +26,7 @@ final class ProgramGuideGridViewController: UIViewController { var snapshot = NSDiffableDataSourceSnapshot() for section in state.sections { snapshot.appendSections([section]) - snapshot.appendItems(state.items(for: section), toSection: section) + snapshot.appendItems(removeDuplicates(in: state.items(for: section)), toSection: section) } return snapshot }