mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-23 20:09:23 +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 &&
|
||||
_buyAmountController.text.isNotEmpty,
|
||||
onPressed: () {
|
||||
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,
|
||||
// );
|
||||
previewQuote();
|
||||
},
|
||||
label: "Preview quote",
|
||||
)),
|
||||
|
|
Loading…
Reference in a new issue