diff --git a/lib/pages/widgets/bottom_info_bar.dart b/lib/pages/widgets/bottom_info_bar.dart index eff3b0e..af09da4 100644 --- a/lib/pages/widgets/bottom_info_bar.dart +++ b/lib/pages/widgets/bottom_info_bar.dart @@ -184,13 +184,7 @@ class _BottomInfoBarState extends State { } if (widget.controller.bottomBarProgress) { bottomBarChildren.add( - CollectionScaleTransition( - children: [ - Icon(Icons.stop, size: 10.0, color: HAClientTheme().getOnStateColor(context),), - Icon(Icons.stop, size: 10.0, color: HAClientTheme().getDisabledStateColor(context),), - Icon(Icons.stop, size: 10.0, color: HAClientTheme().getOffStateColor(context),), - ], - ), + LinearProgressIndicator(), ); } if (bottomBarChildren.isNotEmpty) { @@ -210,6 +204,8 @@ class _BottomInfoBarState extends State { ], ), ); + } else { + bottomBar = Container(height: 0,); } return bottomBar; }