mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-23 03:49:22 +00:00
add basic RBF UI indicator on tx details
This commit is contained in:
parent
0e483a4d15
commit
14ef66990f
1 changed files with 46 additions and 0 deletions
|
@ -1779,6 +1779,52 @@ class _TransactionV2DetailsViewState
|
|||
const SizedBox(
|
||||
height: 12,
|
||||
),
|
||||
if (whatIsIt(
|
||||
_transaction,
|
||||
currentHeight,
|
||||
) !=
|
||||
"Sending")
|
||||
isDesktop
|
||||
? const _Divider()
|
||||
: const SizedBox(
|
||||
height: 12,
|
||||
),
|
||||
// Show Replace By Fee UI/controls.
|
||||
if (whatIsIt(
|
||||
_transaction,
|
||||
currentHeight,
|
||||
) !=
|
||||
"Sending")
|
||||
RoundedWhiteContainer(
|
||||
padding: isDesktop
|
||||
? const EdgeInsets.all(16)
|
||||
: const EdgeInsets.all(12),
|
||||
child: Row(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
mainAxisAlignment:
|
||||
MainAxisAlignment.spaceBetween,
|
||||
children: [
|
||||
Column(
|
||||
crossAxisAlignment:
|
||||
CrossAxisAlignment.start,
|
||||
children: [
|
||||
Text(
|
||||
"Boost transaction",
|
||||
style: isDesktop
|
||||
? STextStyles
|
||||
.desktopTextExtraExtraSmall(
|
||||
context,
|
||||
)
|
||||
: STextStyles.itemSubtitle(
|
||||
context,
|
||||
),
|
||||
),
|
||||
Text("TODO add RBF dialog."),
|
||||
],
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
|
Loading…
Reference in a new issue