From f504c5e03e78b6698235579f342ee99bea84e99f Mon Sep 17 00:00:00 2001 From: OleksandrSobol <dr.alexander.sobol@gmail.com> Date: Fri, 25 Sep 2020 16:47:49 +0300 Subject: [PATCH] CAKE-65 | changed color of the rescan button on rescan page; added text under blockchain height widget --- lib/src/screens/rescan/rescan_page.dart | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/lib/src/screens/rescan/rescan_page.dart b/lib/src/screens/rescan/rescan_page.dart index 9bfe1df2f..a1eaed7f5 100644 --- a/lib/src/screens/rescan/rescan_page.dart +++ b/lib/src/screens/rescan/rescan_page.dart @@ -21,7 +21,23 @@ class RescanPage extends BasePage { padding: EdgeInsets.only(left: 24, right: 24, bottom: 24), child: Column(mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [ - BlockchainHeightWidget(key: _blockchainHeightWidgetKey), + Column( + children: <Widget>[ + BlockchainHeightWidget(key: _blockchainHeightWidgetKey), + Padding( + padding: EdgeInsets.only(left: 40, right: 40, top: 24), + child: Text( + S.of(context).restore_from_date_or_blockheight, + textAlign: TextAlign.center, + style: TextStyle( + fontSize: 12, + fontWeight: FontWeight.normal, + color: Theme.of(context).hintColor + ), + ), + ) + ], + ), Observer( builder: (_) => LoadingPrimaryButton( isLoading: @@ -33,7 +49,7 @@ class RescanPage extends BasePage { _blockchainHeightWidgetKey.currentState.height); Navigator.of(context).pop(); }, - color: Colors.blue, + color: Theme.of(context).accentTextTheme.body2.color, textColor: Colors.white, )) ]),