removeMovieComments method
- Movie movie
Removes the personal comments for a movie from POD.
Implementation
Future<void> removeMovieComments(Movie movie) async {
// Update the cache first to remove the comment.
final comments = _cachedComments ?? {};
comments.remove(movie.id.toString());
_cachedComments = comments;
// Update the single movie file (primary storage) - will remove comment but keep rating if exists.
await _createOrUpdateMovieFile(movie);
// Skip backward compatibility saves to avoid encryption warnings.
notifyListeners();
}