CAKE-65 | changed color of the rescan button on rescan page; added text under blockchain height widget
OleksandrSobol committed
Sep 25, 2020 at 16:47 UTC
f504c5e03e78b6698235579f342ee99bea84e99f
1 file changed
+18
-2
lib/src/screens/rescan/rescan_page.dart
+18
-2
@@ -21,7 +21,23 @@ class RescanPage extends BasePage {
21
padding: EdgeInsets.only(left: 24, right: 24, bottom: 24),
22
child:
23
Column(mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [
24
- BlockchainHeightWidget(key: _blockchainHeightWidgetKey),
24
+ Column(
25
+ children: <Widget>[
26
+ BlockchainHeightWidget(key: _blockchainHeightWidgetKey),
27
+ Padding(
28
+ padding: EdgeInsets.only(left: 40, right: 40, top: 24),
29
+ child: Text(
30
+ S.of(context).restore_from_date_or_blockheight,
31
+ textAlign: TextAlign.center,
32
+ style: TextStyle(
33
+ fontSize: 12,
34
+ fontWeight: FontWeight.normal,
35
+ color: Theme.of(context).hintColor
36
+ ),
37
+ ),
38
+ )
39
+ ],
40
+ ),
41
Observer(
42
builder: (_) => LoadingPrimaryButton(
43
isLoading:
@@ -33,7 +49,7 @@ class RescanPage extends BasePage {
49
_blockchainHeightWidgetKey.currentState.height);
50
Navigator.of(context).pop();
51
},
36
- color: Colors.blue,
52
+ color: Theme.of(context).accentTextTheme.body2.color,
53
textColor: Colors.white,
54
))
55
]),