mirror of
https://github.com/R0m1k3/xtremflow.git
synced 2026-10-11 17:30:00 +02:00
feat: Implement watch history tracking and persistence for movies and episodes.
This commit is contained in:
1 parent
431a2992bb
commit
5ce37dbe25
1 file changed
+1
-1
@@ -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';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user