mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 18:00:17 +01:00
Update selectWallet.js
This commit is contained in:
parent
2448a15cac
commit
8297c3c810
@ -13,7 +13,7 @@ import loc, { formatBalance, transactionTimeToReadable } from '../../loc';
|
||||
import { MultisigHDWallet } from '../../class';
|
||||
import { BlueStorageContext } from '../../blue_modules/storage-context';
|
||||
|
||||
const SelectWallet = ({ navigation }) => {
|
||||
const SelectWallet = () => {
|
||||
const { chainType, onWalletSelect, availableWallets } = useRoute().params;
|
||||
const [isLoading, setIsLoading] = useState(true);
|
||||
const { wallets } = useContext(BlueStorageContext);
|
||||
@ -101,7 +101,7 @@ const SelectWallet = ({ navigation }) => {
|
||||
<TouchableOpacity
|
||||
onPress={() => {
|
||||
ReactNativeHapticFeedback.trigger('selection', { ignoreAndroidSystemSettings: false });
|
||||
onWalletSelect(item, { navigation });
|
||||
onWalletSelect(item);
|
||||
}}
|
||||
>
|
||||
<View shadowOpacity={40 / 100} shadowOffset={{ width: 0, height: 0 }} shadowRadius={5} style={styles.itemRoot}>
|
||||
|
Loading…
Reference in New Issue
Block a user