Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mudar a moeda #3

Open
mvaipa opened this issue Apr 6, 2018 · 0 comments
Open

Mudar a moeda #3

mvaipa opened this issue Apr 6, 2018 · 0 comments

Comments

@mvaipa
Copy link

mvaipa commented Apr 6, 2018

Visualizando a tela ionic-cryptocurrency/src/providers/coinmarketcap/coinmarketcap.provider.ts tem um retorno return this.api.get('ticker/?convert=EUR').toPromise(); e vi que o padrão está como EUR, no caso se eu mudar a moeda a url teria que ser mudada para a moeda escolhida?? se sim como faço para pegar o valor code do currency no IndexedDB e seto na url???

Viewing the screen ionic-cryptocurrency / src / providers / coinmarketcap / coinmarketcap.provider.ts has a return return this.api.get ('ticker /? Convert = EUR'). ToPromise (); and I saw that the default is as EUR, in case if I change the currency the url would have to be changed to the chosen currency ?? if yes how do I get the currency code value in IndexedDB and hedge in the url ???

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant