Skip to content

Commit

Permalink
style(ui): Center progress indicators
Browse files Browse the repository at this point in the history
  • Loading branch information
yorifuji committed Apr 14, 2024
1 parent 988b44a commit b55de72
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/ui/recipe/recipe_note_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ class RecipeNotePage extends ConsumerWidget {
data: (data) => data.isEmpty
? const _EmptyRecipeNoteListContainer()
: _RecipeNoteListContainer(data),
error: (error, stackTrace) => const CircularProgressIndicator(),
loading: () => const CircularProgressIndicator(),
error: (error, stackTrace) =>
const Center(child: CircularProgressIndicator()),
loading: () => const Center(child: CircularProgressIndicator()),
);
return Scaffold(appBar: AppBar(title: Text(t.recipe.title)), body: body);
}
Expand Down

0 comments on commit b55de72

Please sign in to comment.