comment cleanup

This commit is contained in:
sneurlax 2023-01-16 15:41:24 -06:00
parent 0dff63d9ac
commit 21eb453e1a

View file

@ -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",
)), )),