diff --git a/app/package.json b/app/package.json index b4cc2ae..c7c22d2 100644 --- a/app/package.json +++ b/app/package.json @@ -41,7 +41,7 @@ "@types/jasmine": "2.5.41", "@types/node": "7.0.4", "codecov": "2.2.0", - "ionic": "3.12.0", + "ionic": "3.19.1", "jasmine-core": "2.5.2", "jasmine-spec-reporter": "3.2.0", "karma": "1.4.1", diff --git a/app/src/components/head-nav/head-nav.ts b/app/src/components/head-nav/head-nav.ts index 664e77e..7e439ec 100644 --- a/app/src/components/head-nav/head-nav.ts +++ b/app/src/components/head-nav/head-nav.ts @@ -113,15 +113,15 @@ export class HeadNavComponent { } }, { - text: 'BTC', + text: this.currency.defaultCurrency, handler: () => { - this.currency.setCurrency('BTC'); + this.currency.setCurrency(this.currency.defaultCurrency); } }, { - text: 'mBTC', + text: 'm' + this.currency.defaultCurrency, handler: () => { - this.currency.setCurrency('mBTC'); + this.currency.setCurrency('m' + this.currency.defaultCurrency); } }, {