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

Fix light theme issue

This commit is contained in:
Pierre HUBERT 2020-05-03 21:13:20 +02:00
parent 47dbb90640
commit 0c2f3a28d0

View File

@ -84,6 +84,9 @@ class _InitializeWidgetState extends SafeState<InitializeWidget> {
return Scaffold(
backgroundColor: Colors.indigo.shade900,
body: Center(
child: Material(
color: Colors.transparent,
textStyle: TextStyle(color: Colors.white),
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
@ -105,6 +108,7 @@ class _InitializeWidgetState extends SafeState<InitializeWidget> {
],
),
),
),
);
}
@ -115,7 +119,7 @@ class _InitializeWidgetState extends SafeState<InitializeWidget> {
Widget _buildErrorWidget() {
return Column(
children: <Widget>[
Icon(Icons.error),
Icon(Icons.error, color: Colors.white),
SizedBox(height: 30),
Text(tr("Could not connect to server!")),
SizedBox(