clearer notes regarding recovery phrases
This commit is contained in:
parent
a459271218
commit
b6c1d4f88a
2 changed files with 8 additions and 1 deletions
|
|
@ -2,6 +2,11 @@
|
||||||
|
|
||||||
angular.module('copayApp.controllers').controller('backupController',
|
angular.module('copayApp.controllers').controller('backupController',
|
||||||
function($scope, $timeout, $log, $state, $stateParams, $ionicHistory, lodash, profileService, bwcService, walletService, ongoingProcess, popupService, gettextCatalog, $ionicModal, firebaseEventsService) {
|
function($scope, $timeout, $log, $state, $stateParams, $ionicHistory, lodash, profileService, bwcService, walletService, ongoingProcess, popupService, gettextCatalog, $ionicModal, firebaseEventsService) {
|
||||||
|
|
||||||
|
if ($state.current.name == 'onboarding.backup') {
|
||||||
|
$scope.onboarding = true;
|
||||||
|
}
|
||||||
|
|
||||||
if ($stateParams.bchWalletId && $stateParams.btcWalletId) {
|
if ($stateParams.bchWalletId && $stateParams.btcWalletId) {
|
||||||
$scope.wallet = profileService.getWallet($stateParams.bchWalletId);
|
$scope.wallet = profileService.getWallet($stateParams.bchWalletId);
|
||||||
$scope.btcWallet = profileService.getWallet($stateParams.btcWalletId);
|
$scope.btcWallet = profileService.getWallet($stateParams.btcWalletId);
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,9 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="item">
|
<div class="item">
|
||||||
<span class="comment" ng-if="wallet.coin == 'bch'" translate>Note: if this BCH wallet was duplicated from a BTC wallet, they share the same recovery phrase.</span>
|
<span class="comment" ng-if="!onboarding && wallet.coin == 'bch'" translate>Note: if this BCH wallet was duplicated from a BTC wallet, they share the same recovery phrase.</span>
|
||||||
|
<span class="comment" ng-if="!onboarding && wallet.coin == 'btc'" translate>Note: if this BTC wallet was duplicated from a BCH wallet, they share the same recovery phrase.</span>
|
||||||
|
<span class="comment" ng-if="onboarding" translate>Note: Both of the default BCH and BTC wallets share this same recovery phrase.</span>
|
||||||
</div>
|
</div>
|
||||||
<!--
|
<!--
|
||||||
## STEP 1
|
## STEP 1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue