mirror of
https://github.com/Iconica-Development/flutter_timeline.git
synced 2025-05-19 02:23:46 +02:00
Merge pull request #98 from Iconica-Development/4.1.0
fix: add return for loading indicator in post screen
This commit is contained in:
commit
c99ecffa64
2 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
||||||
## 4.1.0
|
## 4.1.0
|
||||||
- Migrate to flutter 3.22 which deprecates the background and onBackground properties in the ThemeData and also removes MaterialStatePropertyAll
|
- 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
|
- 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
|
## 4.0.0
|
||||||
|
|
||||||
|
|
|
@ -112,7 +112,7 @@ class _TimelinePostScreenState extends State<TimelinePostScreen> {
|
||||||
var timeFormat = widget.options.timeFormat ?? DateFormat('HH:mm');
|
var timeFormat = widget.options.timeFormat ?? DateFormat('HH:mm');
|
||||||
|
|
||||||
if (isLoading) {
|
if (isLoading) {
|
||||||
const Center(
|
return const Center(
|
||||||
child: CircularProgressIndicator.adaptive(),
|
child: CircularProgressIndicator.adaptive(),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue