FIX: crash on refresh button #2256

This commit is contained in:
marcosrdz 2020-12-03 10:11:59 -05:00
parent b18f719209
commit 14a9b38632

View File

@ -208,7 +208,7 @@ const WalletsList = () => {
{`${loc.transactions.list_title}${' '}`} {`${loc.transactions.list_title}${' '}`}
</Text> </Text>
{isCatalyst && ( {isCatalyst && (
<TouchableOpacity style={style} onPress={refreshTransactions} disabled={isLoading}> <TouchableOpacity style={style} onPress={() => refreshTransactions(true)} disabled={isLoading}>
<Icon name="refresh" type="font-awesome" color={colors.feeText} /> <Icon name="refresh" type="font-awesome" color={colors.feeText} />
</TouchableOpacity> </TouchableOpacity>
)} )}