mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-03-20 14:19:07 +00:00
hide empty tx note field on mobile confirm send screen
This commit is contained in:
parent
8a84c89824
commit
24d443886e
1 changed files with 42 additions and 39 deletions
|
@ -493,11 +493,13 @@ class _ConfirmTransactionViewState
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
if (coin == Coin.epicCash)
|
if (coin == Coin.epicCash &&
|
||||||
|
(transactionInfo["onChainNote"] as String).isNotEmpty)
|
||||||
const SizedBox(
|
const SizedBox(
|
||||||
height: 12,
|
height: 12,
|
||||||
),
|
),
|
||||||
if (coin == Coin.epicCash)
|
if (coin == Coin.epicCash &&
|
||||||
|
(transactionInfo["onChainNote"] as String).isNotEmpty)
|
||||||
RoundedWhiteContainer(
|
RoundedWhiteContainer(
|
||||||
child: Column(
|
child: Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.stretch,
|
crossAxisAlignment: CrossAxisAlignment.stretch,
|
||||||
|
@ -516,16 +518,17 @@ class _ConfirmTransactionViewState
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
if ((transactionInfo["note"] as String).isNotEmpty)
|
||||||
const SizedBox(
|
const SizedBox(
|
||||||
height: 12,
|
height: 12,
|
||||||
),
|
),
|
||||||
|
if ((transactionInfo["note"] as String).isNotEmpty)
|
||||||
RoundedWhiteContainer(
|
RoundedWhiteContainer(
|
||||||
child: Column(
|
child: Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.stretch,
|
crossAxisAlignment: CrossAxisAlignment.stretch,
|
||||||
children: [
|
children: [
|
||||||
Text(
|
Text(
|
||||||
(coin == Coin.epicCash) ? "Local Note" :
|
(coin == Coin.epicCash) ? "Local Note" : "Note",
|
||||||
"Note",
|
|
||||||
style: STextStyles.smallMed12(context),
|
style: STextStyles.smallMed12(context),
|
||||||
),
|
),
|
||||||
const SizedBox(
|
const SizedBox(
|
||||||
|
|
Loading…
Reference in a new issue