Share a custom amount

This commit is contained in:
Gustavo Maximiliano Cortez 2017-05-24 16:24:52 -03:00
commit acbfb87f45
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
3 changed files with 36 additions and 4 deletions

View file

@ -1,11 +1,20 @@
<ion-view id="custom-amount" hide-tabs>
<ion-nav-bar class="bar-royal">
<ion-nav-buttons side="primary">
<button class="button back-button button-clear" ng-click="close()" translate>
Close
</button>
</ion-nav-buttons>
<ion-nav-title>
{{'Custom Amount' | translate}}
</ion-nav-title>
<ion-nav-buttons side="secondary">
<button class="button no-border" ng-click="close()" translate>
Close
<button class="button-share ng-hide" ng-show="showShareButton" ng-click="shareAddress()">
<i class="icon"
ng-class="{
'ion-ios-upload-outline': showShareButton == 'iOS',
'ion-android-share-alt': showShareButton != 'iOS'
}"></i>
</button>
</ion-nav-buttons>
</ion-nav-bar>
@ -15,7 +24,7 @@
<qrcode size="220" data="bitcoin:{{address + '?amount=' + amountBtc}}" color="#334"></qrcode>
</div>
<div class="info">
<div class="item single-line">
<div class="item single-line" copy-to-clipboard="address">
<span class="label" translate>Address</span>
<span class="item-note ellipsis">
{{address}}