replaced hard-coded BTC strings in currency selector to allow for other default currencies (ie. BCH); updated ionic version
This commit is contained in:
parent
26571f0f43
commit
c02dd53fc5
@ -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",
|
||||
|
||||
@ -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);
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user