mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-24 20:39:21 +00:00
comment cleanup
This commit is contained in:
parent
0dff63d9ac
commit
21eb453e1a
1 changed files with 1 additions and 17 deletions
|
@ -989,23 +989,7 @@ class _BuyFormState extends ConsumerState<BuyForm> {
|
||||||
enabled: _receiveAddressController.text.isNotEmpty &&
|
enabled: _receiveAddressController.text.isNotEmpty &&
|
||||||
_buyAmountController.text.isNotEmpty,
|
_buyAmountController.text.isNotEmpty,
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
previewQuote(); // ??
|
previewQuote();
|
||||||
|
|
||||||
// // preview buy quote
|
|
||||||
// // TODO: show loading while fetching quote
|
|
||||||
// final quote = SimplexQuote(
|
|
||||||
// crypto: selectedCrypto!,
|
|
||||||
// fiat: selectedFiat!,
|
|
||||||
// youPayFiatPrice: Decimal.parse("100"),
|
|
||||||
// youReceiveCryptoAmount: Decimal.parse("1.0238917"),
|
|
||||||
// purchaseId: "someID",
|
|
||||||
// receivingAddress: _receiveAddressController.text,
|
|
||||||
// );
|
|
||||||
//
|
|
||||||
// Navigator.of(context).pushNamed(
|
|
||||||
// BuyQuotePreviewView.routeName,
|
|
||||||
// arguments: quote,
|
|
||||||
// );
|
|
||||||
},
|
},
|
||||||
label: "Preview quote",
|
label: "Preview quote",
|
||||||
)),
|
)),
|
||||||
|
|
Loading…
Reference in a new issue