CWA-209 | reduced height of subaddress tile in the receive page

This commit is contained in:
Oleksandr Sobol 2020-05-07 20:21:44 +03:00
parent 0ca1cd7157
commit 4b5a2f8b06

View file

@ -254,7 +254,6 @@ class ReceiveBodyState extends State<ReceiveBody> {
walletStore.subaddress.address == subaddress.address;
final label = subaddress.label;
final address = subaddress.address;
return InkWell(
onTap: () => walletStore.setSubaddress(subaddress),
@ -263,36 +262,17 @@ class ReceiveBodyState extends State<ReceiveBody> {
padding: EdgeInsets.only(
left: 24,
right: 24,
top: 32,
bottom: 32
top: 28,
bottom: 28
),
child: Text(
label,
style: TextStyle(
fontSize: 18,
fontWeight: FontWeight.bold,
color: PaletteDark.walletCardText
),
),
child: Column(
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
label.isNotEmpty
? Text(
label,
style: TextStyle(
fontSize: 14,
color: PaletteDark.walletCardText
),
)
: Offstage(),
Padding(
padding: label.isNotEmpty
? EdgeInsets.only(top: 10)
: EdgeInsets.only(top: 0),
child: Text(
address,
style: TextStyle(
fontSize: 16,
fontWeight: FontWeight.w600,
color: Colors.white
),
),
)
]),
),
);
}