Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

Commit b8e6e30

Browse files
committed
Display SAT by default instead of fiat
1 parent 89381bb commit b8e6e30

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

src/store.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export class Store {
9494
settings: {
9595
unit: DEFAULT_UNIT,
9696
fiat: DEFAULT_FIAT,
97-
displayFiat: true,
97+
displayFiat: false,
9898
exchangeRate: {},
9999
restoring: false,
100100
autopilot: true,

test/unit/computed/wallet.spec.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ describe('Computed Wallet Unit Tests', () => {
1010

1111
describe('ComputedWallet()', () => {
1212
it('should work with initial store', () => {
13+
store.settings.displayFiat = true;
1314
store.channelBalancePendingSatoshis = 0;
1415
store.channelBalanceOpenSatoshis = 0;
1516
store.channelBalanceInactiveSatoshis = 0;

test/unit/store.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ describe('Store Unit Tests', () => {
1111
it('should set computed vales', () => {
1212
expect(store.unitFiatLabel, 'to be', undefined);
1313
store.init();
14-
expect(store.unitFiatLabel, 'to equal', '$');
14+
expect(store.unitFiatLabel, 'to equal', 'SAT');
1515
});
1616
});
1717
});

0 commit comments

Comments
 (0)