1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-26 06:49:22 +00:00

Fix button color

This commit is contained in:
Pierre HUBERT 2020-05-09 12:31:38 +02:00
parent 099f282cd6
commit f45bcd691e

View File

@ -61,6 +61,7 @@ class AsyncScreenWidgetState extends SafeState<AsyncScreenWidget> {
if (error) if (error)
return buildErrorCard(widget.errorMessage, actions: [ return buildErrorCard(widget.errorMessage, actions: [
MaterialButton( MaterialButton(
textColor: Colors.white,
onPressed: () => refresh(), onPressed: () => refresh(),
child: Text(tr("Try again").toUpperCase()), child: Text(tr("Try again").toUpperCase()),
) )