Skip to content

Commit

Permalink
FIX: Buy&Sell: Loading Posts
Browse files Browse the repository at this point in the history
  • Loading branch information
Prayas-Agrawal committed Jan 28, 2024
1 parent 664aaef commit 10b7524
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/src/routes/buynsell_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,14 @@ class _SellpageState extends State<Sellpage> {
stream: buynSellPostBloc.buynsellposts,
builder: (BuildContext context,
AsyncSnapshot<List<BuynSellPost>> snapshot) {
if (snapshot.connectionState ==
ConnectionState.waiting) {
return Center(
child: CircularProgressIndicatorExtended(
label: Text("Getting the latest posts"),
),
);
}
return ListView.builder(
primary: false,
shrinkWrap: true,
Expand Down

0 comments on commit 10b7524

Please sign in to comment.