Merge pull request #115 from Bitcoin-com/wallet/task/324
Improvement - 324 - Remove "Bitcoin Core Wallet" toggle entirely.
This commit is contained in:
commit
12f021979f
11 changed files with 7 additions and 106 deletions
|
|
@ -29,15 +29,6 @@
|
|||
<ion-toggle ng-model="hideNextSteps.value" ng-if="!isWindowsPhoneApp" toggle-class="toggle-balanced" ng-change="nextStepsChange()">
|
||||
<span class="toggle-label" translate>Hide Next Steps Card</span>
|
||||
</ion-toggle>
|
||||
|
||||
<div class="item item-divider"></div>
|
||||
|
||||
<ion-toggle class="has-comment" ng-model="displayBitcoinCoreEnabled.value" toggle-class="toggle-balanced" ng-change="displayBitcoinCoreChange()">
|
||||
<span class="toggle-label" translate>Bitcoin Core Wallet</span>
|
||||
</ion-toggle>
|
||||
<div class="comment" translate>
|
||||
If enabled, Bitcoin Core (BTC) wallet(s) will be displayed on the Home screen. If disabled, BTC wallets will be not be deleted, only hidden.
|
||||
</div>
|
||||
</div>
|
||||
</ion-content>
|
||||
</ion-view>
|
||||
|
|
|
|||
|
|
@ -37,14 +37,13 @@
|
|||
</div>
|
||||
</a>
|
||||
|
||||
<div class="subheader" ng-if="walletsBtc[0] && walletsBch[0] && displayWallet" translate>
|
||||
<div class="subheader" ng-if="walletsBtc[0] && walletsBch[0]" translate>
|
||||
<img class="wallet-coin-logo" src="img/icon-bitcoin.svg" width="18">
|
||||
<span translate>Bitcoin Core (BTC)</span>
|
||||
</div>
|
||||
<a
|
||||
ng-repeat="wallet in walletsBtc track by $index"
|
||||
class="item item-icon-left item-big-icon-left item-icon-right wallet"
|
||||
ng-show="displayWallet"
|
||||
ng-click="selectWallet(wallet)"
|
||||
>
|
||||
<i class="icon big-icon-svg" ng-include="'views/includes/walletIcon.html'"></i>
|
||||
|
|
|
|||
|
|
@ -28,10 +28,7 @@
|
|||
<a ng-click="hideHomeTip()"><i class="icon ion-ios-close-empty close-home-tip"></i></a>
|
||||
</div>
|
||||
<div class="title" translate>
|
||||
Your Bitcoin Cash (BCH) Wallet is ready!
|
||||
</div>
|
||||
<div class="subtitle" translate>
|
||||
A Bitcoin Core (BTC) wallet can be displayed from Settings <i class="icon bp-arrow-right"></i> Advanced
|
||||
Your Bitcoin Wallets are ready!
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
@ -72,8 +69,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="list card"
|
||||
ng-show="displayBitcoinCore">
|
||||
<div class="list card">
|
||||
<div class="item item-icon-right item-heading">
|
||||
<img class="wallet-coin-logo" src="img/icon-bitcoin.svg" width="18">
|
||||
<span translate>Bitcoin Core (BTC)</span>
|
||||
|
|
|
|||
|
|
@ -75,8 +75,7 @@
|
|||
<a class="item item-icon-left item-icon-right"
|
||||
ng-repeat="item in list"
|
||||
ng-if="hasWallets && item.recipientType == 'wallet'"
|
||||
ng-click="goToAmount(item)"
|
||||
ng-show="item.displayWallet">
|
||||
ng-click="goToAmount(item)">
|
||||
<i class="icon big-icon-svg" ng-if="item.recipientType == 'wallet'" ng-init="wallet = item" ng-include="'views/includes/walletIcon.html'"></i>
|
||||
{{item.name}}
|
||||
<p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue