From cba93fe6b53afa16f9b0e4ce88975d8f6befce5c Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Thu, 13 Sep 2018 13:22:37 -0700 Subject: [PATCH] Bug fixes --- lib/ui/dashboard/dashboard_view.dart | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/lib/ui/dashboard/dashboard_view.dart b/lib/ui/dashboard/dashboard_view.dart index de64ae41e..e91f93f07 100644 --- a/lib/ui/dashboard/dashboard_view.dart +++ b/lib/ui/dashboard/dashboard_view.dart @@ -140,16 +140,19 @@ class CustomTabBarView extends StatelessWidget { }); } - return RefreshIndicator( - onRefresh: () => viewModel.onRefreshed(context), - child: TabBarView( - controller: controller, - children: [ - DashboardPanels( - viewModel: viewModel, - ), - DashboardActivity(viewModel: viewModel), - ], - )); + return TabBarView( + controller: controller, + children: [ + RefreshIndicator( + onRefresh: () => viewModel.onRefreshed(context), + child: DashboardPanels( + viewModel: viewModel, + ), + ), + RefreshIndicator( + onRefresh: () => viewModel.onRefreshed(context), + child: DashboardActivity(viewModel: viewModel)), + ], + ); } }