Desktop-refresh-error-fix (#1442)

* fix: Desktop refresh issue

* chore: Removing comments
This commit is contained in:
Adegoke David 2024-05-09 15:10:49 +01:00 committed by GitHub
parent 8325181253
commit cfe4401ccb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -53,7 +53,7 @@ class DashboardPage extends StatelessWidget {
Widget build(BuildContext context) {
final screenHeight = MediaQuery.of(context).size.height;
return Scaffold(
body: Observer(
body: Builder(
builder: (_) {
final dashboardPageView = RefreshIndicator(
displacement: screenHeight * 0.1,