mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 18:00:17 +01:00
DEL: Refresh button for macOS Catalina
This commit is contained in:
parent
6ed25c807c
commit
1b19f53991
@ -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>
|
||||
);
|
||||
};
|
||||
|
@ -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>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user