Compare commits

...

3 Commits

Author SHA1 Message Date
copilot-swe-agent[bot]
1565bb3e9b
FIX: remove duplicate accessibility label from swipe action icon
Agent-Logs-Url: https://github.com/BlueWallet/BlueWallet/sessions/97e1fe7a-5336-45da-9cf1-8a4babeb355c

Co-authored-by: marcosrdz <4793122+marcosrdz@users.noreply.github.com>
2026-05-13 03:32:33 +00:00
copilot-swe-agent[bot]
4091c323b3
FIX: use vector icons in manage wallets swipe action
Agent-Logs-Url: https://github.com/BlueWallet/BlueWallet/sessions/97e1fe7a-5336-45da-9cf1-8a4babeb355c

Co-authored-by: marcosrdz <4793122+marcosrdz@users.noreply.github.com>
2026-05-13 03:30:04 +00:00
copilot-swe-agent[bot]
2e984b53e7
Initial plan 2026-05-13 03:22:19 +00:00

View File

@ -1,5 +1,5 @@
import React, { useCallback, useState, useEffect, useRef } from 'react';
import { StyleSheet, ViewStyle, ActivityIndicator, Platform, Animated, View, Text, Pressable } from 'react-native';
import { StyleSheet, ViewStyle, ActivityIndicator, Platform, Animated, View, Pressable } from 'react-native';
import { useLocale } from '@react-navigation/native';
import { Swipeable } from 'react-native-gesture-handler';
import { ExtendedTransaction, LightningTransaction, Transaction, TWallet } from '../class/wallets/types';
@ -16,6 +16,7 @@ import { MultisigHDWallet } from '../class/wallets/multisig-hd-wallet';
import { AbstractHDElectrumWallet } from '../class/wallets/abstract-hd-electrum-wallet';
import { WatchOnlyWallet } from '../class/wallets/watch-only-wallet';
import WalletListItem from './WalletListItem';
import Icon from './Icon';
const getHdElectrumWallet = (wallet: TWallet): AbstractHDElectrumWallet | undefined => {
const w: unknown = wallet;
@ -153,10 +154,9 @@ const ManageWalletsListItem: React.FC<ManageWalletsListItemProps> = ({
]}
onPress={onToggle}
accessibilityRole="button"
accessibilityLabel={isHidden ? loc.wallets.swipe_balance_show : loc.wallets.swipe_balance_hide}
>
<Text style={[styles.rightActionText, { color: colors.buttonTextColor }]}>
{isHidden ? loc.wallets.swipe_balance_show : loc.wallets.swipe_balance_hide}
</Text>
<Icon type="material" name={isHidden ? 'visibility' : 'visibility-off'} size={24} color={colors.buttonTextColor} />
</Pressable>
</View>
);
@ -428,10 +428,6 @@ const styles = StyleSheet.create({
rightActionPressed: {
opacity: 0.85,
},
rightActionText: {
fontSize: 15,
fontWeight: '600',
},
});
export { WalletGroupComponent };