Move stuff to center
This commit is contained in:
parent
cfee0a0120
commit
69bb12aec3
1 changed files with 18 additions and 8 deletions
|
@ -139,14 +139,24 @@ class _SyncIndicatorState extends State<SyncIndicator> {
|
|||
),
|
||||
);
|
||||
} else {
|
||||
return Row(
|
||||
children: [
|
||||
Icon(
|
||||
Icons.error_outline,
|
||||
color: Theme.of(context).accentColor,
|
||||
),
|
||||
Text(_event.reason ?? "upload failed"),
|
||||
],
|
||||
return Container(
|
||||
child: Column(
|
||||
children: [
|
||||
Row(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
crossAxisAlignment: CrossAxisAlignment.center,
|
||||
children: [
|
||||
Icon(
|
||||
Icons.error_outline,
|
||||
color: Theme.of(context).accentColor,
|
||||
),
|
||||
Padding(padding: EdgeInsets.all(4)),
|
||||
Text(_event.reason ?? "upload failed"),
|
||||
],
|
||||
),
|
||||
Padding(padding: EdgeInsets.all(8)),
|
||||
],
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue