WIP passphrase confirm - add passphrase view and separate controllers
This commit is contained in:
parent
afdb26de1e
commit
4d94121ec6
11 changed files with 234 additions and 134 deletions
|
|
@ -4,10 +4,9 @@
|
|||
ng-init="titleSection='Backup'; goBackToState = 'backupWords'">
|
||||
</div>
|
||||
|
||||
|
||||
<div class="content preferences" ng-controller="wordsController as wordsC">
|
||||
<div class="content preferences" ng-controller="backupConfirmController as backupConfirmC">
|
||||
<h4></h4>
|
||||
<div ng-show="wordsC.mnemonicWords || (wordsC.credentialsEncrypted && !wordsC.deleted)">
|
||||
<div ng-show="backupConfirmC.mnemonicWords || (backupConfirmC.credentialsEncrypted && !backupConfirmC.deleted)">
|
||||
|
||||
<div class="row m10t m10b">
|
||||
<div class="small-centered text-gray columns size-14 text-center" translate>
|
||||
|
|
@ -19,7 +18,7 @@
|
|||
<button
|
||||
ng-style="{'background-color':index.backgroundColor}"
|
||||
class="button black round expand"
|
||||
ng-click="$root.go('walletHome');"
|
||||
ng-click="backupConfirmC.confirm(); $root.go('walletHome');"
|
||||
translate>Finish
|
||||
</button>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue