good state
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import 'package:collection/collection.dart';
|
||||
import 'package:flutter_mozilla_components/flutter_mozilla_components.dart';
|
||||
import 'package:lensai/core/logger.dart';
|
||||
import 'package:lensai/extensions/nullable.dart';
|
||||
import 'package:lensai/features/web_feed/data/models/feed_article.dart';
|
||||
import 'package:lensai/features/web_feed/data/providers.dart';
|
||||
import 'package:riverpod_annotation/riverpod_annotation.dart';
|
||||
@@ -29,10 +28,10 @@ class ArticleContentProcessorService extends _$ArticleContentProcessorService {
|
||||
articles
|
||||
.mapIndexed(
|
||||
(index, article) => article.copyWith(
|
||||
contentMarkdown: content[index].markdown.whenNotEmpty,
|
||||
contentPlain: content[index].plain.whenNotEmpty,
|
||||
summaryMarkdown: summary[index].markdown.whenNotEmpty,
|
||||
summaryPlain: summary[index].plain.whenNotEmpty,
|
||||
contentMarkdown: content[index].markdown ?? '',
|
||||
contentPlain: content[index].plain,
|
||||
summaryMarkdown: summary[index].markdown ?? '',
|
||||
summaryPlain: summary[index].plain,
|
||||
),
|
||||
)
|
||||
.toList(),
|
||||
|
||||
@@ -7,7 +7,7 @@ part of 'article_content_processor.dart';
|
||||
// **************************************************************************
|
||||
|
||||
String _$articleContentProcessorServiceHash() =>
|
||||
r'182cd89e38a0a9a86b7425c16ad2bd1fc39c6704';
|
||||
r'e7cc3da71f6dcf39b0c10df4dcd061f816d5c12e';
|
||||
|
||||
/// See also [ArticleContentProcessorService].
|
||||
@ProviderFor(ArticleContentProcessorService)
|
||||
|
||||
Reference in New Issue
Block a user