DEL: Refresh button for macOS Catalina

This commit is contained in:
Marcos Rodriguez Velez 2023-03-28 15:57:15 -04:00
parent 6ed25c807c
commit 1b19f53991
2 changed files with 0 additions and 15 deletions

View File

@ -170,17 +170,11 @@ const WalletsList = () => {
};
const renderListHeaderComponent = () => {
const style = { opacity: isLoading ? 1.0 : 0.5 };
return (
<View style={[styles.listHeaderBack, stylesHook.listHeaderBack]}>
<Text textBreakStrategy="simple" style={[styles.listHeaderText, stylesHook.listHeaderText]}>
{`${loc.transactions.list_title}${' '}`}
</Text>
{isDesktop && (
<TouchableOpacity accessibilityRole="button" style={style} onPress={() => refreshTransactions(true)} disabled={isLoading}>
<Icon name="refresh" type="font-awesome" color={colors.feeText} />
</TouchableOpacity>
)}
</View>
);
};

View File

@ -247,15 +247,6 @@ const WalletTransactions = ({ navigation }) => {
)}
<View style={styles.listHeaderTextRow}>
<Text style={[styles.listHeaderText, stylesHook.listHeaderText]}>{loc.transactions.list_title}</Text>
<TouchableOpacity
accessibilityRole="button"
testID="refreshTransactions"
style={style}
onPress={refreshTransactions}
disabled={isLoading}
>
<Icon name="refresh" type="font-awesome" color={colors.feeText} />
</TouchableOpacity>
</View>
</View>
);