mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-03-27 09:38:45 +00:00
remove prints and add comments
This commit is contained in:
parent
df6031350a
commit
d93f5a8063
1 changed files with 6 additions and 7 deletions
|
@ -235,11 +235,10 @@ class _BuyFormState extends ConsumerState<BuyForm> {
|
|||
Future<void> _loadSimplexCryptos() async {
|
||||
final response = await SimplexAPI.instance.getSupportedCryptos();
|
||||
|
||||
print('test1');
|
||||
print(response.value);
|
||||
|
||||
if (response.value != null) {
|
||||
ref.read(simplexProvider).updateSupportedCryptos(response.value!);
|
||||
ref
|
||||
.read(simplexProvider)
|
||||
.updateSupportedCryptos(response.value!); // TODO validate
|
||||
} else {
|
||||
Logging.instance.log(
|
||||
"_loadSimplexCurrencies: $response",
|
||||
|
@ -251,10 +250,10 @@ class _BuyFormState extends ConsumerState<BuyForm> {
|
|||
Future<void> _loadSimplexFiats() async {
|
||||
final response = await SimplexAPI.instance.getSupportedFiats();
|
||||
|
||||
print(response.value);
|
||||
|
||||
if (response.value != null) {
|
||||
ref.read(simplexProvider).updateSupportedFiats(response.value!);
|
||||
ref
|
||||
.read(simplexProvider)
|
||||
.updateSupportedFiats(response.value!); // TODO validate
|
||||
} else {
|
||||
Logging.instance.log(
|
||||
"_loadSimplexCurrencies: $response",
|
||||
|
|
Loading…
Reference in a new issue