hide testnet options for bch wallets in import process

This commit is contained in:
JDonadio 2017-09-01 14:59:14 -03:00
commit 92cab1871a
No known key found for this signature in database
GPG key ID: EC1F4E04B2BFA730
3 changed files with 14 additions and 4 deletions

View file

@ -2,7 +2,7 @@
<div class="input-label" translate>
Coin
</div>
<select ng-model="formData.coin">
<select ng-model="formData.coin" ng-change="switchTestnetOff()">
<option value="btc">BTC</option>
<option value="bch">BCH</option>
</select>

View file

@ -64,7 +64,7 @@
<select class="m10t" ng-model="formData.seedSourceAll" ng-options="seed as seed.label for seed in seedOptionsAll"></select>
</label>
<ion-toggle ng-model="formData.testnetEnabled" ng-change="setDerivationPath()" toggle-class="toggle-positive">
<ion-toggle ng-model="formData.testnetEnabled" ng-change="setDerivationPath()" toggle-class="toggle-positive" ng-if="formData.coin == 'btc'">
<span translate>Testnet</span>
</ion-toggle>