From 96e4f1d62c8df1d4595c09508a4391e2f697c451 Mon Sep 17 00:00:00 2001 From: johnathan White Date: Wed, 20 May 2020 19:18:23 -0400 Subject: [PATCH] refactor --- src/pages/cards/cards.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/pages/cards/cards.ts b/src/pages/cards/cards.ts index 948bfdfd6bc..daaa5c554cf 100644 --- a/src/pages/cards/cards.ts +++ b/src/pages/cards/cards.ts @@ -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); } }