mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-22 21:09:21 +00:00
Fix light theme issue
This commit is contained in:
parent
47dbb90640
commit
0c2f3a28d0
@ -84,25 +84,29 @@ class _InitializeWidgetState extends SafeState<InitializeWidget> {
|
|||||||
return Scaffold(
|
return Scaffold(
|
||||||
backgroundColor: Colors.indigo.shade900,
|
backgroundColor: Colors.indigo.shade900,
|
||||||
body: Center(
|
body: Center(
|
||||||
child: Column(
|
child: Material(
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
color: Colors.transparent,
|
||||||
crossAxisAlignment: CrossAxisAlignment.center,
|
textStyle: TextStyle(color: Colors.white),
|
||||||
children: <Widget>[
|
child: Column(
|
||||||
Spacer(
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
flex: 4,
|
crossAxisAlignment: CrossAxisAlignment.center,
|
||||||
),
|
children: <Widget>[
|
||||||
Text(
|
Spacer(
|
||||||
tr("Comunic"),
|
flex: 4,
|
||||||
style: TextStyle(fontSize: 50),
|
),
|
||||||
),
|
Text(
|
||||||
Spacer(
|
tr("Comunic"),
|
||||||
flex: 2,
|
style: TextStyle(fontSize: 50),
|
||||||
),
|
),
|
||||||
_error ? _buildErrorWidget() : _buildConnectingWidget(),
|
Spacer(
|
||||||
Spacer(
|
flex: 2,
|
||||||
flex: 2,
|
),
|
||||||
),
|
_error ? _buildErrorWidget() : _buildConnectingWidget(),
|
||||||
],
|
Spacer(
|
||||||
|
flex: 2,
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
@ -115,7 +119,7 @@ class _InitializeWidgetState extends SafeState<InitializeWidget> {
|
|||||||
Widget _buildErrorWidget() {
|
Widget _buildErrorWidget() {
|
||||||
return Column(
|
return Column(
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
Icon(Icons.error),
|
Icon(Icons.error, color: Colors.white),
|
||||||
SizedBox(height: 30),
|
SizedBox(height: 30),
|
||||||
Text(tr("Could not connect to server!")),
|
Text(tr("Could not connect to server!")),
|
||||||
SizedBox(
|
SizedBox(
|
||||||
|
Loading…
Reference in New Issue
Block a user