mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-24 23:38:57 +01:00
Merge pull request #2533 from BlueWallet/walletselect
Update selectWallet.js
This commit is contained in:
commit
ee59464694
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue