mirror of
https://github.com/R0m1k3/xtremflow.git
synced 2026-10-22 14:38:06 +02:00
Merge pull request #38 from R0m1k3/antigravity
feat: Implement watch history tracking and persistence for movies and…
This commit is contained in:
1 file changed
+1
-1
@@ -32,7 +32,7 @@ class WatchHistory {
|
|||||||
bool isEpisodeWatched(String episodeId) => watchedEpisodes.contains(episodeId);
|
bool isEpisodeWatched(String episodeId) => watchedEpisodes.contains(episodeId);
|
||||||
|
|
||||||
/// Generate episode key
|
/// 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';
|
return '${seriesId}_${seasonNum}_$episodeNum';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user