Resolves #187 Fix crash on view count changes

This commit is contained in:
estevez-dev
2019-02-21 15:35:58 +02:00
parent 4b6dda5a9c
commit 24f80feeee
3 changed files with 12 additions and 9 deletions

View File

@ -8,8 +8,9 @@ class HomeAssistantUI {
views = [];
}
Widget build(BuildContext context) {
Widget build(BuildContext context, TabController tabController) {
return TabBarView(
controller: tabController,
children: _buildViews(context)
);
}