From c41561da4fa1bde359d7056c2b394a9865076e2e Mon Sep 17 00:00:00 2001 From: konrad Date: Sat, 16 Mar 2019 16:51:53 +0100 Subject: [PATCH] format --- lib/global.dart | 3 +-- lib/pages/home.dart | 8 +++++--- 2 files changed, 6 insertions(+), 5 deletions(-) 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(