FIX: Wallet selection was not visible

This commit is contained in:
marcosrdz 2021-03-04 20:19:44 -05:00
parent f55a7d7b5e
commit b3a954b466

View File

@ -63,7 +63,7 @@ const SendDetails = () => {
const [width, setWidth] = useState(Dimensions.get('window').width);
const [isLoading, setIsLoading] = useState(true);
const [wallet, setWallet] = useState(null);
const [walletSelectionOrCoinsSelectedHidden, setWalletSelectionOrCoinsSelectedHidden] = useState(true);
const [walletSelectionOrCoinsSelectedHidden, setWalletSelectionOrCoinsSelectedHidden] = useState(false);
const [isAmountToolbarVisibleForAndroid, setIsAmountToolbarVisibleForAndroid] = useState(true);
const [isFeeSelectionModalVisible, setIsFeeSelectionModalVisible] = useState(false);
const [optionsVisible, setOptionsVisible] = useState(false);
@ -1121,7 +1121,7 @@ const SendDetails = () => {
};
const renderWalletSelectionOrCoinsSelected = () => {
if (walletSelectionOrCoinsSelectedHidden) return;
if (walletSelectionOrCoinsSelectedHidden) return null;
if (utxo !== null) {
return (