Bug fixes

This commit is contained in:
Hillel Coren 2018-09-13 13:22:37 -07:00
parent 800afa1426
commit cba93fe6b5
1 changed files with 14 additions and 11 deletions

View File

@ -140,16 +140,19 @@ class CustomTabBarView extends StatelessWidget {
}); });
} }
return RefreshIndicator( return TabBarView(
onRefresh: () => viewModel.onRefreshed(context),
child: TabBarView(
controller: controller, controller: controller,
children: <Widget>[ children: <Widget>[
DashboardPanels( RefreshIndicator(
onRefresh: () => viewModel.onRefreshed(context),
child: DashboardPanels(
viewModel: viewModel, viewModel: viewModel,
), ),
DashboardActivity(viewModel: viewModel), ),
RefreshIndicator(
onRefresh: () => viewModel.onRefreshed(context),
child: DashboardActivity(viewModel: viewModel)),
], ],
)); );
} }
} }