added color names

This commit is contained in:
Jamal Jackson 2016-09-22 15:36:44 -04:00
commit 6bfcf8e874
3 changed files with 20 additions and 3 deletions

View file

@ -7,8 +7,9 @@
</ion-nav-back-button>
</ion-nav-bar>
<ion-content>
<ion-radio ng-repeat="c in colorList" ng-value="c" ng-model="currentColor" ng-click="save(c)">
<span ng-style="{'color': c}">&block;</span>
<ion-radio ng-repeat="c in colorList" ng-value="c.color" ng-model="currentColor" ng-click="save(c)">
<span ng-style="{'color': c.color}">&block;</span>
<span> {{c.name}}</span>
</ion-radio>
</ion-content>
</ion-view>

View file

@ -1,4 +1,4 @@
<ion-view>
<ion-view class="settings">
<ion-nav-bar class="bar-royal">
<ion-nav-title>{{'Wallet Information' | translate}}</ion-nav-title>
<ion-nav-back-button>