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