mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-11 05:04:35 +00:00
display long name on buy view
This commit is contained in:
parent
8a70e9def4
commit
fff29ba826
1 changed files with 3 additions and 2 deletions
|
@ -519,7 +519,8 @@ class _BuyFormState extends ConsumerState<BuyForm> {
|
|||
); // 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': ''});
|
||||
selectedFiat = Fiat.fromJson(
|
||||
{'ticker': 'USD', 'name': 'United States Dollar', 'image': ''});
|
||||
selectedCrypto =
|
||||
Crypto.fromJson({'ticker': 'BTC', 'name': 'Bitcoin', 'image': ''});
|
||||
|
||||
|
@ -692,7 +693,7 @@ class _BuyFormState extends ConsumerState<BuyForm> {
|
|||
),
|
||||
Expanded(
|
||||
child: Text(
|
||||
selectedFiat?.ticker ?? "ERR",
|
||||
"${selectedFiat?.ticker ?? 'ERR'} ${selectedFiat?.name ?? 'Error'}",
|
||||
style: STextStyles.largeMedium14(context),
|
||||
),
|
||||
),
|
||||
|
|
Loading…
Reference in a new issue