mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-22 18:44:31 +00:00
set BTC and USD as defaults
This commit is contained in:
parent
56135dc19f
commit
b575ee82ed
1 changed files with 5 additions and 0 deletions
|
@ -488,6 +488,11 @@ class _BuyFormState extends ConsumerState<BuyForm> {
|
|||
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();
|
||||
|
|
Loading…
Reference in a new issue