clearer notes regarding recovery phrases

This commit is contained in:
Kadir Sekha 2018-01-16 11:36:52 +09:00
commit b6c1d4f88a
2 changed files with 8 additions and 1 deletions

View file

@ -2,6 +2,11 @@
angular.module('copayApp.controllers').controller('backupController',
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) {
$scope.wallet = profileService.getWallet($stateParams.bchWalletId);
$scope.btcWallet = profileService.getWallet($stateParams.btcWalletId);

View file

@ -16,7 +16,9 @@
</div>
</div>
<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>
<!--
## STEP 1