REF: remove slide label

This commit is contained in:
Gabriel Bazán 2018-02-20 10:13:20 -03:00
parent ae47d51a0b
commit cc00ecdb18
3 changed files with 27 additions and 28 deletions

View File

@ -122,6 +122,5 @@
</ion-content> </ion-content>
<ion-footer> <ion-footer>
<button ion-button full class="button-footer" (click)="approve(tx, wallet)" [disabled]="!wallet || noWalletMessage || critialError || !tx.txp[wallet.id]" <button ion-button full class="button-footer" (click)="approve(tx, wallet)" [disabled]="!wallet || noWalletMessage || critialError || !tx.txp[wallet.id]">{{buttonText}}</button>
translate>Click to send</button>
</ion-footer> </ion-footer>

View File

@ -253,23 +253,23 @@ export class ConfirmPage {
private setButtonText(isMultisig: boolean, isPayPro: boolean): void { private setButtonText(isMultisig: boolean, isPayPro: boolean): void {
if (isPayPro) { if (isPayPro) {
if (this.isCordova && !this.isWindowsPhoneApp) { //if (this.isCordova && !this.isWindowsPhoneApp) {
this.buttonText = this.translate.instant('Slide to pay'); // this.buttonText = this.translate.instant('Slide to pay');
} else { // } else {
this.buttonText = this.translate.instant('Click to pay'); this.buttonText = this.translate.instant('Click to pay');
} // }
} else if (isMultisig) { } else if (isMultisig) {
if (this.isCordova && !this.isWindowsPhoneApp) { //if (this.isCordova && !this.isWindowsPhoneApp) {
this.buttonText = this.translate.instant('Slide to accept'); // this.buttonText = this.translate.instant('Slide to accept');
} else { //} else {
this.buttonText = this.translate.instant('Click to accept'); this.buttonText = this.translate.instant('Click to accept');
} //}
} else {
if (this.isCordova && !this.isWindowsPhoneApp) {
this.buttonText = this.translate.instant('Slide to send');
} else { } else {
//if (this.isCordova && !this.isWindowsPhoneApp) {
// this.buttonText = this.translate.instant('Slide to send');
//} else {
this.buttonText = this.translate.instant('Click to send'); this.buttonText = this.translate.instant('Click to send');
} //}
} }
} }

View File

@ -120,18 +120,18 @@ export class TxpDetailsPage {
}).length == this.tx.requiredSignatures - 1; }).length == this.tx.requiredSignatures - 1;
if (lastSigner) { if (lastSigner) {
if (this.isCordova && !this.isWindowsPhoneApp) { //if (this.isCordova && !this.isWindowsPhoneApp) {
this.buttonText = this.translate.instant('Slide to send'); // this.buttonText = this.translate.instant('Slide to send');
} else { //} else {
this.buttonText = this.translate.instant('Click to send'); this.buttonText = this.translate.instant('Click to send');
} //}
this.successText = this.translate.instant('Payment Sent'); this.successText = this.translate.instant('Payment Sent');
} else { } else {
if (this.isCordova && !this.isWindowsPhoneApp) { //if (this.isCordova && !this.isWindowsPhoneApp) {
this.buttonText = this.translate.instant('Slide to accept'); // this.buttonText = this.translate.instant('Slide to accept');
} else { //} else {
this.buttonText = this.translate.instant('Click to accept'); this.buttonText = this.translate.instant('Click to accept');
} //}
this.successText = this.translate.instant('Payment Accepted'); this.successText = this.translate.instant('Payment Accepted');
} }
} }