diff --git a/lib/global.dart b/lib/global.dart index 33e0aeb..061ae99 100644 --- a/lib/global.dart +++ b/lib/global.dart @@ -84,8 +84,7 @@ class VikunjaGlobalState extends State { _client = null; _currentUser = null; }); - }) - .catchError((err) { + }).catchError((err) { Scaffold.of(context).showSnackBar(SnackBar( content: Text('An error occured while logging out!'), )); diff --git a/lib/pages/home.dart b/lib/pages/home.dart index d475e3d..2216972 100644 --- a/lib/pages/home.dart +++ b/lib/pages/home.dart @@ -137,9 +137,11 @@ class HomePageState extends State { Theme.of(context).primaryColor, BlendMode.multiply)), ), ), - new Builder(builder: (BuildContext context) => Expanded( - child: _showUserDetails ? _userDetailsWidget(context) : _namespacesWidget() - )), + new Builder( + builder: (BuildContext context) => Expanded( + child: _showUserDetails + ? _userDetailsWidget(context) + : _namespacesWidget())), new Align( alignment: FractionalOffset.bottomCenter, child: Builder(