aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorFrankie <frankie.pangilinan@consensys.net>2016-10-02 04:53:43 +0800
committerFrankie <frankie.pangilinan@consensys.net>2016-10-02 04:53:43 +0800
commitebf864ae6e0efe7acbd83314c4343a73db38564d (patch)
tree0260578ae00104dad826f0b2ff6996cc87bdf130 /app
parentf28de37a8cbbc05978be3499bc8eb672108a8ed4 (diff)
downloadtangerine-wallet-browser-ebf864ae6e0efe7acbd83314c4343a73db38564d.tar
tangerine-wallet-browser-ebf864ae6e0efe7acbd83314c4343a73db38564d.tar.gz
tangerine-wallet-browser-ebf864ae6e0efe7acbd83314c4343a73db38564d.tar.bz2
tangerine-wallet-browser-ebf864ae6e0efe7acbd83314c4343a73db38564d.tar.lz
tangerine-wallet-browser-ebf864ae6e0efe7acbd83314c4343a73db38564d.tar.xz
tangerine-wallet-browser-ebf864ae6e0efe7acbd83314c4343a73db38564d.tar.zst
tangerine-wallet-browser-ebf864ae6e0efe7acbd83314c4343a73db38564d.zip
Fix for readability
Diffstat (limited to 'app')
-rw-r--r--app/scripts/metamask-controller.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/metamask-controller.js b/app/scripts/metamask-controller.js
index fceac5263..9e1a885ae 100644
--- a/app/scripts/metamask-controller.js
+++ b/app/scripts/metamask-controller.js
@@ -22,7 +22,7 @@ module.exports = class MetamaskController {
this.idStore.setStore(this.ethStore)
this.messageManager = messageManager
this.publicConfigStore = this.initPublicConfigStore()
- var currentFiat = this.configManager.getCurrentFiat() ? this.configManager.getCurrentFiat() : 'USD'
+ var currentFiat = this.configManager.getCurrentFiat() || 'USD'
this.configManager.setCurrentFiat(currentFiat)
this.configManager.updateConversionRate()
this.scheduleConversionInterval()