aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/app.js
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2016-11-02 02:25:38 +0800
committerKevin Serrano <kevgagser@gmail.com>2016-11-02 02:30:10 +0800
commitdb356a181a3fde4ad528c699f6da517053171866 (patch)
treeba339827fef6685e097d6fc247dae47f3d0a8f70 /ui/app/app.js
parente2f67a2cb85552bd8fcf2f7929c14a9d028adccb (diff)
downloadtangerine-wallet-browser-db356a181a3fde4ad528c699f6da517053171866.tar
tangerine-wallet-browser-db356a181a3fde4ad528c699f6da517053171866.tar.gz
tangerine-wallet-browser-db356a181a3fde4ad528c699f6da517053171866.tar.bz2
tangerine-wallet-browser-db356a181a3fde4ad528c699f6da517053171866.tar.lz
tangerine-wallet-browser-db356a181a3fde4ad528c699f6da517053171866.tar.xz
tangerine-wallet-browser-db356a181a3fde4ad528c699f6da517053171866.tar.zst
tangerine-wallet-browser-db356a181a3fde4ad528c699f6da517053171866.zip
Made progress on parity for MultiVault
- Deleted some unused items - Renamed files and paths to match with new locations. - Modified keyring controller logic to separate concerns. - Fix account naming issues. - Enable creation of new vault with default HD keyring. - Formatting issues.
Diffstat (limited to 'ui/app/app.js')
-rw-r--r--ui/app/app.js20
1 files changed, 4 insertions, 16 deletions
diff --git a/ui/app/app.js b/ui/app/app.js
index a593af0a2..b40219763 100644
--- a/ui/app/app.js
+++ b/ui/app/app.js
@@ -7,7 +7,6 @@ const ReactCSSTransitionGroup = require('react-addons-css-transition-group')
// init
const DisclaimerScreen = require('./first-time/disclaimer')
const InitializeMenuScreen = require('./first-time/init-menu')
-const CreateVaultScreen = require('./first-time/create-vault')
const NewKeyChainScreen = require('./new-keychain')
// unlock
const UnlockScreen = require('./unlock')
@@ -28,6 +27,7 @@ const Tooltip = require('./components/tooltip')
const BuyView = require('./components/buy-button-subview')
const QrView = require('./components/qr-code')
const HDCreateVaultComplete = require('./keychains/hd/create-vault-complete')
+const HDRestoreVaultScreen = require('./keychains/hd/restore-vault')
module.exports = connect(mapStateToProps)(App)
@@ -349,16 +349,6 @@ App.prototype.renderBackToInitButton = function () {
} else if (props.isInitialized) {
var style
switch (props.currentView.name) {
- case 'createVault':
- style = {
- position: 'absolute',
- top: '41px',
- left: '80px',
- fontSize: '21px',
- fontFamily: 'Montserrat Bold',
- color: 'rgb(174, 174, 174)',
- }
- return this.renderBackButton(style, true)
case 'restoreVault':
style = {
position: 'absolute',
@@ -403,8 +393,9 @@ App.prototype.renderPrimary = function () {
// show current view
switch (props.currentView.name) {
- case 'createVault':
- return h(CreateVaultScreen, {key: 'createVault'})
+
+ case 'restoreVault':
+ return h(HDRestoreVaultScreen, {key: 'HDRestoreVaultScreen'})
default:
return h(InitializeMenuScreen, {key: 'menuScreenInit'})
@@ -440,9 +431,6 @@ App.prototype.renderPrimary = function () {
case 'info':
return h(InfoScreen, {key: 'info'})
- case 'createVault':
- return h(CreateVaultScreen, {key: 'createVault'})
-
case 'buyEth':
return h(BuyView, {key: 'buyEthView'})