design: Login page follow up

This commit is contained in:
krille-chan 2023-07-22 14:17:00 +02:00
parent b667e22d19
commit b798b6dd39
No known key found for this signature in database

View file

@ -21,6 +21,7 @@ class HomeserverPickerView extends StatelessWidget {
return LoginScaffold(
appBar: AppBar(
titleSpacing: 12,
automaticallyImplyLeading: false,
title: HomeserverAppBar(controller: controller),
),
body: SafeArea(
@ -54,10 +55,14 @@ class HomeserverPickerView extends StatelessWidget {
? const Center(child: CircularProgressIndicator.adaptive())
: ListView(
children: [
Image.asset(
'assets/info-logo.png',
height: 96,
),
if (FluffyThemes.isColumnMode(context))
Image.asset(
'assets/info-logo.png',
height: 96,
)
else
Image.asset('assets/banner_transparent.png'),
const SizedBox(height: 12),
if (errorText != null) ...[
const Center(
child: Icon(
@ -163,8 +168,7 @@ class _LoginButton extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Container(
padding: const EdgeInsets.symmetric(horizontal: 12),
margin: const EdgeInsets.only(bottom: 16),
margin: const EdgeInsets.only(bottom: 12),
alignment: Alignment.center,
child: SizedBox(
width: 256,