diff --git a/lib/pages/homeserver_picker/homeserver_picker_view.dart b/lib/pages/homeserver_picker/homeserver_picker_view.dart index c5c53ffc3..b850e335f 100644 --- a/lib/pages/homeserver_picker/homeserver_picker_view.dart +++ b/lib/pages/homeserver_picker/homeserver_picker_view.dart @@ -21,13 +21,11 @@ class HomeserverPickerView extends StatelessWidget { final benchmarkResults = controller.benchmarkResults; return LoginScaffold( appBar: AppBar( + toolbarHeight: 80, centerTitle: true, - title: Padding( - padding: const EdgeInsets.only(top: 40, bottom: 16.0), - child: SvgPicture.asset( - ImagePaths.icTwakeLogo, - width: 200, - ), + title: SvgPicture.asset( + ImagePaths.icTwakeLogo, + width: 200, ), ), body: SafeArea( diff --git a/lib/widgets/layouts/login_scaffold.dart b/lib/widgets/layouts/login_scaffold.dart index 6be87b67e..37d3b35bd 100644 --- a/lib/widgets/layouts/login_scaffold.dart +++ b/lib/widgets/layouts/login_scaffold.dart @@ -20,6 +20,7 @@ class LoginScaffold extends StatelessWidget { appBar: appBar == null ? null : AppBar( + toolbarHeight: appBar?.toolbarHeight, titleSpacing: appBar?.titleSpacing, automaticallyImplyLeading: appBar?.automaticallyImplyLeading ?? true,