provider access fixes

This commit is contained in:
julian 2023-01-14 11:16:32 -06:00
parent daa6c5a9b0
commit 48346fa77f

View file

@ -72,7 +72,7 @@ class _BuyFormState extends ConsumerState<BuyForm> {
void selectCrypto() async {
final supportedCoins =
ref.watch(supportedSimplexCurrenciesProvider).supportedCryptos;
ref.read(supportedSimplexCurrenciesProvider).supportedCryptos;
await _showFloatingCryptoSelectionSheet(
coins: supportedCoins, onSelected: (_) {});
@ -152,7 +152,7 @@ class _BuyFormState extends ConsumerState<BuyForm> {
void selectFiat() async {
final supportedFiats =
ref.watch(supportedSimplexCurrenciesProvider).supportedFiats;
ref.read(supportedSimplexCurrenciesProvider).supportedFiats;
await _showFloatingFiatSelectionSheet(
fiats: supportedFiats, onSelected: (_) {});