Skip to content

Commit

Permalink
TW-1123: center login app logo
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian KOUNE authored and hoangdat committed Dec 15, 2023
1 parent 2b18780 commit c473d7e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
10 changes: 4 additions & 6 deletions lib/pages/homeserver_picker/homeserver_picker_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
1 change: 1 addition & 0 deletions lib/widgets/layouts/login_scaffold.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ class LoginScaffold extends StatelessWidget {
appBar: appBar == null
? null
: AppBar(
toolbarHeight: appBar?.toolbarHeight,
titleSpacing: appBar?.titleSpacing,
automaticallyImplyLeading:
appBar?.automaticallyImplyLeading ?? true,
Expand Down

0 comments on commit c473d7e

Please sign in to comment.