fix: Padding and colors

This commit is contained in:
Christian Pauly 2021-08-22 21:50:19 +02:00
parent 6a432ae8de
commit f9111b6bb3
1 changed files with 6 additions and 2 deletions

View File

@ -25,6 +25,7 @@ class NewPrivateChatView extends StatelessWidget {
appBar: AppBar(
leading: BackButton(),
title: Text(L10n.of(context).newChat),
backgroundColor: Theme.of(context).scaffoldBackgroundColor,
elevation: 0,
actions: [
TextButton(
@ -40,8 +41,10 @@ class NewPrivateChatView extends StatelessWidget {
child: ListView(
children: [
Padding(
padding: const EdgeInsets.symmetric(
horizontal: _qrCodePadding * 2,
padding: const EdgeInsets.only(
top: _qrCodePadding * 2,
left: _qrCodePadding * 2,
right: _qrCodePadding * 2,
),
child: Text(
L10n.of(context).createNewChatExplaination,
@ -53,6 +56,7 @@ class NewPrivateChatView extends StatelessWidget {
margin: EdgeInsets.all(_qrCodePadding),
alignment: Alignment.center,
padding: EdgeInsets.all(_qrCodePadding * 2),
color: Colors.white,
child: Material(
borderRadius: BorderRadius.circular(12),
elevation: 4,