mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
CWA-177 | fixed UI bug in the settings text list row
This commit is contained in:
@@ -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,
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user