From fff29ba8262eeffa1c3c40d41092f73420b9b99e Mon Sep 17 00:00:00 2001 From: sneurlax Date: Tue, 24 Jan 2023 11:01:13 -0600 Subject: [PATCH] display long name on buy view --- lib/pages/buy_view/buy_form.dart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/pages/buy_view/buy_form.dart b/lib/pages/buy_view/buy_form.dart index d3f5ab4d5..7d952f280 100644 --- a/lib/pages/buy_view/buy_form.dart +++ b/lib/pages/buy_view/buy_form.dart @@ -519,7 +519,8 @@ class _BuyFormState extends ConsumerState { ); // 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 { ), Expanded( child: Text( - selectedFiat?.ticker ?? "ERR", + "${selectedFiat?.ticker ?? 'ERR'} ${selectedFiat?.name ?? 'Error'}", style: STextStyles.largeMedium14(context), ), ),