diff --git a/lib/pages/buy_view/buy_form.dart b/lib/pages/buy_view/buy_form.dart index 30f93a035..0b225395c 100644 --- a/lib/pages/buy_view/buy_form.dart +++ b/lib/pages/buy_view/buy_form.dart @@ -488,6 +488,11 @@ class _BuyFormState extends ConsumerState { receivingAddress: '', ); // TODO enum this or something + // TODO set defaults better; should probably explicitly enumerate the coins & fiats used and pull the specific ones we need rather than generating them as defaults here + selectedFiat = Fiat.fromJson({'ticker': 'USD', 'name': 'USD', 'image': ''}); + selectedCrypto = + Crypto.fromJson({'ticker': 'BTC', 'name': 'Bitcoin', 'image': ''}); + // TODO set initial crypto to open wallet if a wallet is open super.initState();