mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-02-02 11:16:26 +00:00
commit
16ffaae0f3
3 changed files with 20 additions and 7 deletions
|
@ -321,7 +321,7 @@ class DashboardPageBodyState extends State<DashboardPageBody> {
|
|||
),
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(
|
||||
left: 35, right: 35, bottom: 30),
|
||||
left: 20, right: 20, bottom: 30),
|
||||
child: Container(
|
||||
child: Row(
|
||||
mainAxisAlignment:
|
||||
|
|
|
@ -79,6 +79,7 @@ class SettingsFormState extends State<SettingsForm> {
|
|||
widget: Observer(
|
||||
builder: (_) => Text(
|
||||
settingsStore.node == null ? '' : settingsStore.node.uri,
|
||||
textAlign: TextAlign.right,
|
||||
style: TextStyle(
|
||||
fontSize: 16.0,
|
||||
color:
|
||||
|
@ -92,6 +93,7 @@ class SettingsFormState extends State<SettingsForm> {
|
|||
widget: Observer(
|
||||
builder: (_) => Text(
|
||||
settingsStore.balanceDisplayMode.toString(),
|
||||
textAlign: TextAlign.right,
|
||||
style: TextStyle(
|
||||
fontSize: 16.0,
|
||||
color:
|
||||
|
@ -104,6 +106,7 @@ class SettingsFormState extends State<SettingsForm> {
|
|||
widget: Observer(
|
||||
builder: (_) => Text(
|
||||
settingsStore.fiatCurrency.toString(),
|
||||
textAlign: TextAlign.right,
|
||||
style: TextStyle(
|
||||
fontSize: 16.0,
|
||||
color:
|
||||
|
@ -116,6 +119,7 @@ class SettingsFormState extends State<SettingsForm> {
|
|||
widget: Observer(
|
||||
builder: (_) => Text(
|
||||
settingsStore.transactionPriority.toString(),
|
||||
textAlign: TextAlign.right,
|
||||
style: TextStyle(
|
||||
fontSize: 16.0,
|
||||
color:
|
||||
|
|
|
@ -18,14 +18,23 @@ class SettingsTextListRow extends StatelessWidget {
|
|||
color: Theme.of(context).accentTextTheme.headline.backgroundColor,
|
||||
child: ListTile(
|
||||
contentPadding: EdgeInsets.only(left: 20.0, right: 20.0),
|
||||
title: Observer(
|
||||
builder: (_) => Text(
|
||||
title: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||
children: <Widget>[
|
||||
Flexible(
|
||||
child: Observer(
|
||||
builder: (_) => Text(
|
||||
settingsStore.itemHeaders[title],
|
||||
style: TextStyle(
|
||||
fontSize: 16.0,
|
||||
color: Theme.of(context).primaryTextTheme.title.color),
|
||||
)),
|
||||
trailing: widget,
|
||||
fontSize: 16.0,
|
||||
color: Theme.of(context).primaryTextTheme.title.color),
|
||||
)),
|
||||
),
|
||||
Flexible(
|
||||
child: widget
|
||||
)
|
||||
],
|
||||
),
|
||||
onTap: onTaped,
|
||||
),
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue