From 3ff3ce19069e08ac17e27dc95bdd2c9b1dc9218d Mon Sep 17 00:00:00 2001 From: Ivan Vershigora Date: Sun, 22 Nov 2020 11:36:28 +0300 Subject: [PATCH] FIX: recover lost testID="refreshTransactions" --- screen/wallets/transactions.js | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/screen/wallets/transactions.js b/screen/wallets/transactions.js index dc40dfd6f..8e2e446a8 100644 --- a/screen/wallets/transactions.js +++ b/screen/wallets/transactions.js @@ -209,7 +209,18 @@ const WalletTransactions = () => { }; const renderListHeaderComponent = () => { - const style = { opacity: isLoading ? 0.5 : 1.0 }; + const style = {}; + if (!isCatalyst) { + // we need this button for testing + style.opacity = 0; + style.height = 1; + style.width = 1; + } else if (isLoading) { + style.opacity = 0.5; + } else { + style.opacity = 1.0; + } + return ( @@ -233,11 +244,9 @@ const WalletTransactions = () => { {loc.transactions.list_title} - {isCatalyst && ( - - - - )} + + + );