Skip to content

Commit

Permalink
fix: Remove extra padding on transaction bottom sheet
Browse files Browse the repository at this point in the history
  • Loading branch information
reasje committed Dec 12, 2024
1 parent 06544c0 commit f6b87a7
Showing 1 changed file with 33 additions and 36 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,46 +57,43 @@ class _TransactionInfoState extends State<TransactionInfo> {
),
),
),
Padding(
padding: const EdgeInsets.symmetric(horizontal: 6),
child: Column(
children: [
amountItem(context),
SingleLineInfoItem(
title: 'balance',
value: widget.balance,
hint: widget.token.symbol,
),
SingleLineInfoItem(
title: 'network',
value: widget.network,
),
Column(
children: [
amountItem(context),
SingleLineInfoItem(
title: 'balance',
value: widget.balance,
hint: widget.token.symbol,
),
SingleLineInfoItem(
title: 'network',
value: widget.network,
),
SingleLineInfoItem(
title: 'from',
value: widget.from,
),
SingleLineInfoItem(
title: 'to',
value: widget.to,
),
if (TransactionProcessType.confirm != processType) ...[
SingleLineInfoItem(
title: 'from',
value: widget.from,
title: 'estimated_fee',
value: MXCFormatter.formatNumberForUI(
widget.estimatedFee,
),
hint: widget.networkSymbol,
),
SingleLineInfoItem(
title: 'to',
value: widget.to,
),
if (TransactionProcessType.confirm != processType) ...[
SingleLineInfoItem(
title: 'estimated_fee',
value: MXCFormatter.formatNumberForUI(
widget.estimatedFee,
),
hint: widget.networkSymbol,
),
SingleLineInfoItem(
title: 'max_fee',
value: MXCFormatter.formatNumberForUI(
widget.maxFee,
),
hint: widget.networkSymbol,
title: 'max_fee',
value: MXCFormatter.formatNumberForUI(
widget.maxFee,
),
]
],
),
hint: widget.networkSymbol,
),
]
],
),
const SizedBox(height: 8),
transactionButton(context),
Expand Down

0 comments on commit f6b87a7

Please sign in to comment.