Skip to content

Mudar a moeda #3

@mvaipa

Description

@mvaipa

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 ???

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions