mirror of https://github.com/BTCPrivate/copay.git
Merge pull request #8074 from gabrielbazan7/ref/removeslide
REF: remove slide label
This commit is contained in:
commit
1e902c902d
|
@ -122,6 +122,5 @@
|
|||
</ion-content>
|
||||
|
||||
<ion-footer>
|
||||
<button ion-button full class="button-footer" (click)="approve(tx, wallet)" [disabled]="!wallet || noWalletMessage || critialError || !tx.txp[wallet.id]"
|
||||
translate>Click to send</button>
|
||||
</ion-footer>
|
||||
<button ion-button full class="button-footer" (click)="approve(tx, wallet)" [disabled]="!wallet || noWalletMessage || critialError || !tx.txp[wallet.id]">{{buttonText}}</button>
|
||||
</ion-footer>
|
|
@ -253,23 +253,23 @@ export class ConfirmPage {
|
|||
|
||||
private setButtonText(isMultisig: boolean, isPayPro: boolean): void {
|
||||
if (isPayPro) {
|
||||
if (this.isCordova && !this.isWindowsPhoneApp) {
|
||||
this.buttonText = this.translate.instant('Slide to pay');
|
||||
} else {
|
||||
this.buttonText = this.translate.instant('Click to pay');
|
||||
}
|
||||
//if (this.isCordova && !this.isWindowsPhoneApp) {
|
||||
// this.buttonText = this.translate.instant('Slide to pay');
|
||||
// } else {
|
||||
this.buttonText = this.translate.instant('Click to pay');
|
||||
// }
|
||||
} else if (isMultisig) {
|
||||
if (this.isCordova && !this.isWindowsPhoneApp) {
|
||||
this.buttonText = this.translate.instant('Slide to accept');
|
||||
} else {
|
||||
this.buttonText = this.translate.instant('Click to accept');
|
||||
}
|
||||
//if (this.isCordova && !this.isWindowsPhoneApp) {
|
||||
// this.buttonText = this.translate.instant('Slide to accept');
|
||||
//} else {
|
||||
this.buttonText = this.translate.instant('Click to accept');
|
||||
//}
|
||||
} else {
|
||||
if (this.isCordova && !this.isWindowsPhoneApp) {
|
||||
this.buttonText = this.translate.instant('Slide to send');
|
||||
} else {
|
||||
this.buttonText = this.translate.instant('Click to send');
|
||||
}
|
||||
//if (this.isCordova && !this.isWindowsPhoneApp) {
|
||||
// this.buttonText = this.translate.instant('Slide to send');
|
||||
//} else {
|
||||
this.buttonText = this.translate.instant('Click to send');
|
||||
//}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -120,18 +120,18 @@ export class TxpDetailsPage {
|
|||
}).length == this.tx.requiredSignatures - 1;
|
||||
|
||||
if (lastSigner) {
|
||||
if (this.isCordova && !this.isWindowsPhoneApp) {
|
||||
this.buttonText = this.translate.instant('Slide to send');
|
||||
} else {
|
||||
this.buttonText = this.translate.instant('Click to send');
|
||||
}
|
||||
//if (this.isCordova && !this.isWindowsPhoneApp) {
|
||||
// this.buttonText = this.translate.instant('Slide to send');
|
||||
//} else {
|
||||
this.buttonText = this.translate.instant('Click to send');
|
||||
//}
|
||||
this.successText = this.translate.instant('Payment Sent');
|
||||
} else {
|
||||
if (this.isCordova && !this.isWindowsPhoneApp) {
|
||||
this.buttonText = this.translate.instant('Slide to accept');
|
||||
} else {
|
||||
this.buttonText = this.translate.instant('Click to accept');
|
||||
}
|
||||
//if (this.isCordova && !this.isWindowsPhoneApp) {
|
||||
// this.buttonText = this.translate.instant('Slide to accept');
|
||||
//} else {
|
||||
this.buttonText = this.translate.instant('Click to accept');
|
||||
//}
|
||||
this.successText = this.translate.instant('Payment Accepted');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue