Skip to content
Permalink
Browse files

linting

  • Loading branch information
JohnathanWhite committed Mar 25, 2020
1 parent 11b8881 commit fb39973d6a8a70f86b1003bd14ffdc5b7f3c3823
@@ -28,11 +28,10 @@ export class FinishModalPage {
: 'success';

if (this.navParams.get('redir')) {
setTimeout( () => {
setTimeout(() => {
this.viewCtrl.dismiss();
}, 4000);
}

}

public close(): void {
@@ -22,7 +22,8 @@ import { DecimalPipe } from '@angular/common';
import {
AddressProvider,
EmailNotificationsProvider,
FeeProvider, IABCardProvider,
FeeProvider,
IABCardProvider,
IncomingDataProvider,
TxConfirmNotificationProvider
} from '../../../../providers';
@@ -31,6 +31,7 @@ import { Coin, CurrencyProvider } from '../../../providers/currency/currency';
import { ErrorsProvider } from '../../../providers/errors/errors';
import { ExternalLinkProvider } from '../../../providers/external-link/external-link';
import { FeeProvider } from '../../../providers/fee/fee';
import { IABCardProvider } from '../../../providers/in-app-browser/card';
import { OnGoingProcessProvider } from '../../../providers/on-going-process/on-going-process';
import { PlatformProvider } from '../../../providers/platform/platform';
import { PopupProvider } from '../../../providers/popup/popup';
@@ -42,7 +43,6 @@ import {
TransactionProposal,
WalletProvider
} from '../../../providers/wallet/wallet';
import { IABCardProvider } from '../../../providers/in-app-browser/card';
@Component({
selector: 'page-confirm',
templateUrl: 'confirm.html'
@@ -1026,7 +1026,11 @@ export class ConfirmPage {
}

protected async openFinishModal(onlyPublish?: boolean, redir?: object) {
let params: { finishText: string; finishComment?: string; redir?: object } = {
let params: {
finishText: string;
finishComment?: string;
redir?: object;
} = {
finishText: this.successText,
redir
};
@@ -1064,7 +1068,6 @@ export class ConfirmPage {
id: this.fromCoinbase.accountId
});
} else {

if (redir) {
setTimeout(() => {
this.iabCardProvider.sendMessage(
@@ -1082,7 +1085,6 @@ export class ConfirmPage {
walletId: this.wallet.credentials.walletId
});
}

}
});
}

0 comments on commit fb39973

Please sign in to comment.
You can’t perform that action at this time.