aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/app.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-06-15 11:42:48 +0800
committerDan Finlay <dan@danfinlay.com>2017-06-15 11:55:56 +0800
commit0e1e0aa32398b0b9d19cd6ae3fb06d577aae6cc6 (patch)
treeae3df7210232f9ad1c15c2597f15660ec8d783f7 /ui/app/app.js
parenta80945e73075b8c0dc43a68ba73da65d7074e098 (diff)
downloadtangerine-wallet-browser-0e1e0aa32398b0b9d19cd6ae3fb06d577aae6cc6.tar
tangerine-wallet-browser-0e1e0aa32398b0b9d19cd6ae3fb06d577aae6cc6.tar.gz
tangerine-wallet-browser-0e1e0aa32398b0b9d19cd6ae3fb06d577aae6cc6.tar.bz2
tangerine-wallet-browser-0e1e0aa32398b0b9d19cd6ae3fb06d577aae6cc6.tar.lz
tangerine-wallet-browser-0e1e0aa32398b0b9d19cd6ae3fb06d577aae6cc6.tar.xz
tangerine-wallet-browser-0e1e0aa32398b0b9d19cd6ae3fb06d577aae6cc6.tar.zst
tangerine-wallet-browser-0e1e0aa32398b0b9d19cd6ae3fb06d577aae6cc6.zip
Create add token button and template view
Diffstat (limited to 'ui/app/app.js')
-rw-r--r--ui/app/app.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/app/app.js b/ui/app/app.js
index d444a8349..8bf69b5ad 100644
--- a/ui/app/app.js
+++ b/ui/app/app.js
@@ -19,6 +19,7 @@ const NoticeScreen = require('./components/notice')
const generateLostAccountsNotice = require('../lib/lost-accounts-notice')
// other views
const ConfigScreen = require('./config')
+const AddTokenScreen = require('./add-token')
const Import = require('./accounts/import')
const InfoScreen = require('./info')
const Loading = require('./components/loading')
@@ -458,6 +459,10 @@ App.prototype.renderPrimary = function () {
log.debug('rendering confirm tx screen')
return h(ConfirmTxScreen, {key: 'confirm-tx'})
+ case 'add-token':
+ log.debug('rendering add-token screen from unlock screen.')
+ return h(AddTokenScreen, {key: 'add-token'})
+
case 'config':
log.debug('rendering config screen')
return h(ConfigScreen, {key: 'config'})