Skip to content

Commit

Permalink
[#176175845] removes unused property
Browse files Browse the repository at this point in the history
  • Loading branch information
qesya committed Dec 22, 2020
1 parent dfce905 commit 1e4ea88
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions ts/screens/wallet/TransactionsScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import * as pot from "italia-ts-commons/lib/pot";
import { Text, View } from "native-base";
import * as React from "react";
import { RefreshControl, StyleSheet } from "react-native";
import { StyleSheet } from "react-native";
import { NavigationInjectedProps } from "react-navigation";
import { connect } from "react-redux";
import { IOStyles } from "../../components/core/variables/IOStyles";
Expand Down Expand Up @@ -126,19 +126,6 @@ class TransactionsScreen extends React.Component<Props> {
undefined
);

const transactionsRefreshControl = (
<RefreshControl
onRefresh={() => {
this.props.loadTransactions(this.props.transactionsLoadedLength);
}}
// The refresh control spinner is displayed only at pull-to-refresh
// while, during the transactions reload, it is displayed the custom transaction
// list spinner
refreshing={false}
tintColor={"transparent"}
/>
);

return (
<WalletLayout
title={I18n.t("wallet.paymentMethod")}
Expand All @@ -147,7 +134,6 @@ class TransactionsScreen extends React.Component<Props> {
hideHeader={true}
hasDynamicSubHeader={true}
topContentHeight={HEADER_HEIGHT}
refreshControl={transactionsRefreshControl}
contextualHelpMarkdown={contextualHelpMarkdown}
faqCategories={["wallet_transaction"]}
>
Expand Down

0 comments on commit 1e4ea88

Please sign in to comment.