diff --git a/CHANGELOG.md b/CHANGELOG.md index 0c23c81..95b8c19 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ ## 4.1.0 - Migrate to flutter 3.22 which deprecates the background and onBackground properties in the ThemeData and also removes MaterialStatePropertyAll - Add categorySelectionButtonSelectedTextColor and categorySelectionButtonUnselectedTextColor to the timeline theme to allow for the customization of the text color of the category selection buttons +- Show loading indicator when loading a post in the post screen ## 4.0.0 diff --git a/packages/flutter_timeline_view/lib/src/screens/timeline_post_screen.dart b/packages/flutter_timeline_view/lib/src/screens/timeline_post_screen.dart index d8d98f8..491b8b8 100644 --- a/packages/flutter_timeline_view/lib/src/screens/timeline_post_screen.dart +++ b/packages/flutter_timeline_view/lib/src/screens/timeline_post_screen.dart @@ -112,7 +112,7 @@ class _TimelinePostScreenState extends State { var timeFormat = widget.options.timeFormat ?? DateFormat('HH:mm'); if (isLoading) { - const Center( + return const Center( child: CircularProgressIndicator.adaptive(), ); }