1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-22 12:59:21 +00:00

Fix issue on create account route

This commit is contained in:
Pierre HUBERT 2020-05-04 20:11:36 +02:00
parent 5c76f6e0a6
commit 86c89e782c

View File

@ -78,8 +78,11 @@ class __CreateAccountRouteBodyState extends State<_CreateAccountRouteBody> {
child: CircularProgressIndicator(),
);
return Padding(
return Center(
child: Padding(
padding: const EdgeInsets.all(8.0),
child: ConstrainedBox(
constraints: BoxConstraints(maxWidth: 370),
child: ListView(
children: <Widget>[
_createAccountResult != null
@ -146,7 +149,8 @@ class __CreateAccountRouteBodyState extends State<_CreateAccountRouteBody> {
// TOS
CheckboxListTile(
title: Text(tr("I have read and accepted the Terms Of Service.")),
title:
Text(tr("I have read and accepted the Terms Of Service.")),
value: _acceptedTOS,
onChanged: (b) {
_acceptedTOS = b;
@ -176,6 +180,8 @@ class __CreateAccountRouteBodyState extends State<_CreateAccountRouteBody> {
),
],
),
),
),
);
}