mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-16 17:27:39 +00:00
make coin control string amount values selectable
This commit is contained in:
parent
9285027006
commit
a22a97aee1
2 changed files with 4 additions and 4 deletions
|
@ -694,7 +694,7 @@ class _CoinControlViewState extends ConsumerState<CoinControlView> {
|
||||||
selectedSumInt.toAmountAsRaw(
|
selectedSumInt.toAmountAsRaw(
|
||||||
fractionDigits: coin.fractionDigits,
|
fractionDigits: coin.fractionDigits,
|
||||||
);
|
);
|
||||||
return Text(
|
return SelectableText(
|
||||||
ref
|
ref
|
||||||
.watch(pAmountFormatter(coin))
|
.watch(pAmountFormatter(coin))
|
||||||
.format(selectedSum),
|
.format(selectedSum),
|
||||||
|
@ -739,7 +739,7 @@ class _CoinControlViewState extends ConsumerState<CoinControlView> {
|
||||||
"Amount to send",
|
"Amount to send",
|
||||||
style: STextStyles.w600_14(context),
|
style: STextStyles.w600_14(context),
|
||||||
),
|
),
|
||||||
Text(
|
SelectableText(
|
||||||
ref
|
ref
|
||||||
.watch(pAmountFormatter(coin))
|
.watch(pAmountFormatter(coin))
|
||||||
.format(widget.requestedTotal!),
|
.format(widget.requestedTotal!),
|
||||||
|
|
|
@ -488,7 +488,7 @@ class _DesktopCoinControlUseDialogState
|
||||||
.textDark,
|
.textDark,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Text(
|
SelectableText(
|
||||||
"${widget.amountToSend!.decimal.toStringAsFixed(
|
"${widget.amountToSend!.decimal.toStringAsFixed(
|
||||||
coin.fractionDigits,
|
coin.fractionDigits,
|
||||||
)}"
|
)}"
|
||||||
|
@ -523,7 +523,7 @@ class _DesktopCoinControlUseDialogState
|
||||||
.textDark,
|
.textDark,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Text(
|
SelectableText(
|
||||||
"${selectedSum.decimal.toStringAsFixed(
|
"${selectedSum.decimal.toStringAsFixed(
|
||||||
coin.fractionDigits,
|
coin.fractionDigits,
|
||||||
)} ${coin.ticker}",
|
)} ${coin.ticker}",
|
||||||
|
|
Loading…
Reference in a new issue