mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-24 15:36:59 +01:00
FIX: handle platform-specific icon compatibility for delete button (#7530)
This commit is contained in:
parent
fe37bcb9fd
commit
8b32825e73
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
import React, { useCallback, useState } from 'react';
|
||||
import { View, StyleSheet, ViewStyle, TouchableOpacity, ActivityIndicator } from 'react-native';
|
||||
import { View, StyleSheet, ViewStyle, TouchableOpacity, ActivityIndicator, Platform } from 'react-native';
|
||||
import { Icon, ListItem } from '@rneui/base';
|
||||
import { ExtendedTransaction, LightningTransaction, TWallet } from '../class/wallets/types';
|
||||
import { WalletCarouselItem } from './WalletsCarousel';
|
||||
|
@ -66,7 +66,7 @@ const RightSwipeContent: React.FC<Partial<SwipeContentProps>> = ({ onPress }) =>
|
|||
accessibilityRole="button"
|
||||
accessibilityLabel="Delete Wallet"
|
||||
>
|
||||
<Icon name="delete-outline" color="#FFFFFF" />
|
||||
<Icon name={Platform.OS === 'android' ? 'delete' : 'delete-outline'} color="#FFFFFF" />
|
||||
</TouchableOpacity>
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue