mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-26 06:49:22 +00:00
Fix light theme issue
This commit is contained in:
parent
47dbb90640
commit
0c2f3a28d0
@ -84,6 +84,9 @@ class _InitializeWidgetState extends SafeState<InitializeWidget> {
|
|||||||
return Scaffold(
|
return Scaffold(
|
||||||
backgroundColor: Colors.indigo.shade900,
|
backgroundColor: Colors.indigo.shade900,
|
||||||
body: Center(
|
body: Center(
|
||||||
|
child: Material(
|
||||||
|
color: Colors.transparent,
|
||||||
|
textStyle: TextStyle(color: Colors.white),
|
||||||
child: Column(
|
child: Column(
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
crossAxisAlignment: CrossAxisAlignment.center,
|
crossAxisAlignment: CrossAxisAlignment.center,
|
||||||
@ -105,6 +108,7 @@ class _InitializeWidgetState extends SafeState<InitializeWidget> {
|
|||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -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