mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-10 12:25:11 +00:00
design: Login page follow up
This commit is contained in:
parent
b667e22d19
commit
b798b6dd39
1 changed files with 10 additions and 6 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue