upgrade min sdk; run formatter
This commit is contained in:
@@ -10,8 +10,9 @@ class FetchArticlesController extends _$FetchArticlesController {
|
||||
Future<void> fetchAllArticles() async {
|
||||
state = const AsyncLoading();
|
||||
state = await AsyncValue.guard(() async {
|
||||
final feeds =
|
||||
await ref.read(feedRepositoryProvider.notifier).getAllFeeds();
|
||||
final feeds = await ref
|
||||
.read(feedRepositoryProvider.notifier)
|
||||
.getAllFeeds();
|
||||
|
||||
await Future.wait(
|
||||
feeds.map((feed) async {
|
||||
|
||||
Reference in New Issue
Block a user