From b65c885467903aa7c1550140a2c7c95041119f68 Mon Sep 17 00:00:00 2001 From: Yegor Vialov Date: Wed, 15 Apr 2020 18:13:03 +0000 Subject: [PATCH] Bottom info bar as standalone component --- lib/pages/widgets/bottom_info_bar.dart | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lib/pages/widgets/bottom_info_bar.dart b/lib/pages/widgets/bottom_info_bar.dart index fd866e6..eff3b0e 100644 --- a/lib/pages/widgets/bottom_info_bar.dart +++ b/lib/pages/widgets/bottom_info_bar.dart @@ -110,8 +110,7 @@ class _BottomInfoBarState extends State { actions.add(FlatButton( child: Text("${action.title}", style: textStyle), onPressed: () { - Logger.d('FULL_RELOAD action'); - EventBus().fire(FullReloadEvent()); + eventBus.fire(FullReloadEvent()); }, )); break; @@ -121,7 +120,7 @@ class _BottomInfoBarState extends State { actions.add(FlatButton( child: Text("${action.title}", style: textStyle), onPressed: () { - EventBus().fire(ReloadUIEvent()); + eventBus.fire(ReloadUIEvent()); }, )); break; @@ -131,7 +130,7 @@ class _BottomInfoBarState extends State { actions.add(FlatButton( child: Text("${action.title}", style: textStyle), onPressed: () { - ConnectionManager().logout().then((_) => EventBus().fire(FullReloadEvent())); + ConnectionManager().logout().then((_) => eventBus.fire(FullReloadEvent())); }, )); break;