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), controller: controller,
child: TabBarView( children: <Widget>[
controller: controller, RefreshIndicator(
children: <Widget>[ onRefresh: () => viewModel.onRefreshed(context),
DashboardPanels( child: DashboardPanels(
viewModel: viewModel, viewModel: viewModel,
), ),
DashboardActivity(viewModel: viewModel), ),
], RefreshIndicator(
)); onRefresh: () => viewModel.onRefreshed(context),
child: DashboardActivity(viewModel: viewModel)),
],
);
} }
} }