This commit is contained in:
ncoelho 2020-11-19 14:58:58 +01:00
parent e37e934f3f
commit c526833259

View file

@ -209,18 +209,7 @@ const WalletTransactions = () => {
};
const renderListHeaderComponent = () => {
const style = {};
if (!isDesktop) {
// 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;
}
const style = { opacity: isLoading ? 0.5 : 1.0 };
return (
<View style={styles.flex}>
<View style={styles.listHeader}>