config Service
This commit is contained in:
parent
776154ffbf
commit
2235cb60bb
4 changed files with 7 additions and 24 deletions
|
|
@ -179,18 +179,11 @@ angular.module('copayApp.services').factory('configService', function(storageSer
|
||||||
if (!configCache.wallet.settings.unitCode) {
|
if (!configCache.wallet.settings.unitCode) {
|
||||||
configCache.wallet.settings.unitCode = defaultConfig.wallet.settings.unitCode;
|
configCache.wallet.settings.unitCode = defaultConfig.wallet.settings.unitCode;
|
||||||
}
|
}
|
||||||
if (!configCache.glidera) {
|
|
||||||
configCache.glidera = defaultConfig.glidera;
|
if (!configCache.hideNextSteps) {
|
||||||
}
|
configCache.hideNextSteps = defaultConfig.hideNextSteps;
|
||||||
if (!configCache.coinbaseV2) {
|
|
||||||
configCache.coinbaseV2 = defaultConfig.coinbaseV2;
|
|
||||||
}
|
|
||||||
if (!configCache.amazon) {
|
|
||||||
configCache.amazon = defaultConfig.amazon;
|
|
||||||
}
|
|
||||||
if (!configCache.bitpayCard) {
|
|
||||||
configCache.bitpayCard = defaultConfig.bitpayCard;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!configCache.recentTransactions) {
|
if (!configCache.recentTransactions) {
|
||||||
configCache.recentTransactions = defaultConfig.recentTransactions;
|
configCache.recentTransactions = defaultConfig.recentTransactions;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
<a ui-sref="tabs.bitpayCardIntro"><i class="icon ion-ios-plus-empty list-add-button"></i></a>
|
<a ui-sref="tabs.bitpayCardIntro"><i class="icon ion-ios-plus-empty list-add-button"></i></a>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<a ng-repeat="card in bitpayCardItems"
|
<a ng-repeat="card in bitpayCardItems track by $index"
|
||||||
ui-sref="tabs.bitpayCard({id:card.id})"
|
ui-sref="tabs.bitpayCard({id:card.id})"
|
||||||
class="item item-sub item-icon-left item-big-icon-left item-icon-right">
|
class="item item-sub item-icon-left item-big-icon-left item-icon-right">
|
||||||
<i class="icon big-icon-svg">
|
<i class="icon big-icon-svg">
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
<i class="icon bp-arrow-down" ng-show="hide"></i>
|
<i class="icon bp-arrow-down" ng-show="hide"></i>
|
||||||
</div>
|
</div>
|
||||||
<div ng-show="!hide">
|
<div ng-show="!hide">
|
||||||
<div ng-repeat="service in services">
|
<div ng-repeat="service in services track by $index">
|
||||||
<a ui-sref="{{service.sref}}" class="item item-sub item-icon-left item-big-icon-left item-icon-right next-step">
|
<a ui-sref="{{service.sref}}" class="item item-sub item-icon-left item-big-icon-left item-icon-right next-step">
|
||||||
<i class="icon big-icon-svg">
|
<i class="icon big-icon-svg">
|
||||||
<div class="bg {{service.icon}}"></div>
|
<div class="bg {{service.icon}}"></div>
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
<i class="icon bp-arrow-down" ng-show="hide"></i>
|
<i class="icon bp-arrow-down" ng-show="hide"></i>
|
||||||
</div>
|
</div>
|
||||||
<div ng-show="!hide">
|
<div ng-show="!hide">
|
||||||
<div ng-repeat="service in services">
|
<div ng-repeat="service in services track by $index">
|
||||||
<a ui-sref="{{service.sref}}" class="item item-sub item-icon-left item-big-icon-left item-icon-right next-step">
|
<a ui-sref="{{service.sref}}" class="item item-sub item-icon-left item-big-icon-left item-icon-right next-step">
|
||||||
<i class="icon big-icon-svg">
|
<i class="icon big-icon-svg">
|
||||||
<div class="bg {{service.icon}}"></div>
|
<div class="bg {{service.icon}}"></div>
|
||||||
|
|
@ -17,13 +17,3 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- -->
|
|
||||||
<!-- <a ui-sref="tabs.bitpayCardIntro" ng-if="!externalServices.BitpayCard && bitpayCardEnabled" class="item item-sub item-icon-left item-big-icon-left item-icon-right next-step"> -->
|
|
||||||
<!-- <i class="icon big-icon-svg"> -->
|
|
||||||
<!-- <div class="bg icon-bitpay-card"></div> -->
|
|
||||||
<!-- </i> -->
|
|
||||||
<!-- <span translate>Add BitPay Visa&reg; Card</span> -->
|
|
||||||
<!-- <i class="icon bp-arrow-right"></i> -->
|
|
||||||
<!-- </a> -->
|
|
||||||
<!-- </a> -->
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue