From 10b75243a9fe247add6718c8cd2f6f30aca5aafd Mon Sep 17 00:00:00 2001 From: Prayas-Agrawal Date: Sun, 28 Jan 2024 18:38:02 +0530 Subject: [PATCH] FIX: Buy&Sell: Loading Posts --- lib/src/routes/buynsell_page.dart | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/src/routes/buynsell_page.dart b/lib/src/routes/buynsell_page.dart index 687b28a3..dd8cdf5d 100644 --- a/lib/src/routes/buynsell_page.dart +++ b/lib/src/routes/buynsell_page.dart @@ -204,6 +204,14 @@ class _SellpageState extends State { stream: buynSellPostBloc.buynsellposts, builder: (BuildContext context, AsyncSnapshot> snapshot) { + if (snapshot.connectionState == + ConnectionState.waiting) { + return Center( + child: CircularProgressIndicatorExtended( + label: Text("Getting the latest posts"), + ), + ); + } return ListView.builder( primary: false, shrinkWrap: true,