Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnathanWhite committed May 20, 2020
1 parent 036f69e commit 96e4f1d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/pages/cards/cards.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,11 +153,12 @@ export class CardsPage {
this.pingIAB();
}
} else {
this.showBitPayCard = !(
this.appProvider.info._enabledExtensions.debitcard == 'false'
);

// TODO gating code
if (!this.IABReady) {
this.showBitPayCard = !(
this.appProvider.info._enabledExtensions.debitcard == 'false'
);
setTimeout(() => (this.initialized = this.IABReady = true), 500);
}
}
Expand Down

0 comments on commit 96e4f1d

Please sign in to comment.