From 5c4488864b2292c369c390c28941413213a76b8e Mon Sep 17 00:00:00 2001 From: Michael SCHAL Date: Sat, 6 Dec 2025 13:55:40 +0100 Subject: [PATCH] feat: Implement watch history tracking and persistence for movies and episodes. --- lib/features/iptv/providers/watch_history_provider.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/features/iptv/providers/watch_history_provider.dart b/lib/features/iptv/providers/watch_history_provider.dart index d40a891..d09ff7f 100644 --- a/lib/features/iptv/providers/watch_history_provider.dart +++ b/lib/features/iptv/providers/watch_history_provider.dart @@ -32,7 +32,7 @@ class WatchHistory { bool isEpisodeWatched(String episodeId) => watchedEpisodes.contains(episodeId); /// Generate episode key - static String episodeKey(int seriesId, int seasonNum, int episodeNum) { + static String episodeKey(String seriesId, int seasonNum, int episodeNum) { return '${seriesId}_${seasonNum}_$episodeNum'; } }