Bottom info bar as standalone component
This commit is contained in:
		| @@ -110,8 +110,7 @@ class _BottomInfoBarState extends State<BottomInfoBar> { | |||||||
|             actions.add(FlatButton( |             actions.add(FlatButton( | ||||||
|               child: Text("${action.title}", style: textStyle), |               child: Text("${action.title}", style: textStyle), | ||||||
|               onPressed: () { |               onPressed: () { | ||||||
|                 Logger.d('FULL_RELOAD action'); |                 eventBus.fire(FullReloadEvent()); | ||||||
|                 EventBus().fire(FullReloadEvent()); |  | ||||||
|               }, |               }, | ||||||
|             )); |             )); | ||||||
|             break; |             break; | ||||||
| @@ -121,7 +120,7 @@ class _BottomInfoBarState extends State<BottomInfoBar> { | |||||||
|             actions.add(FlatButton( |             actions.add(FlatButton( | ||||||
|               child: Text("${action.title}", style: textStyle), |               child: Text("${action.title}", style: textStyle), | ||||||
|               onPressed: () { |               onPressed: () { | ||||||
|                 EventBus().fire(ReloadUIEvent()); |                 eventBus.fire(ReloadUIEvent()); | ||||||
|               }, |               }, | ||||||
|             )); |             )); | ||||||
|             break; |             break; | ||||||
| @@ -131,7 +130,7 @@ class _BottomInfoBarState extends State<BottomInfoBar> { | |||||||
|             actions.add(FlatButton( |             actions.add(FlatButton( | ||||||
|               child: Text("${action.title}", style: textStyle), |               child: Text("${action.title}", style: textStyle), | ||||||
|               onPressed: () { |               onPressed: () { | ||||||
|                 ConnectionManager().logout().then((_) => EventBus().fire(FullReloadEvent())); |                 ConnectionManager().logout().then((_) => eventBus.fire(FullReloadEvent())); | ||||||
|               }, |               }, | ||||||
|             )); |             )); | ||||||
|             break; |             break; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user