FIX: hide provide entropy button when creating Lightning or MS wallet

This commit is contained in:
Ivan Vershigora 2020-11-26 13:10:00 +03:00
parent a8eaaf5068
commit 0e2a518157

View File

@ -309,6 +309,9 @@ const WalletsAdd = () => {
);
}
})()}
{isAdvancedOptionsEnabled && selectedWalletType === ButtonSelected.ONCHAIN && !isLoading && (
<BlueButtonLinkHook style={styles.import} title={entropyButtonText} onPress={navigateToEntropy} />
)}
<BlueSpacing20 />
<View style={styles.createButton}>
{!isLoading ? (
@ -325,9 +328,6 @@ const WalletsAdd = () => {
onPress={navigateToImportWallet}
/>
)}
{isAdvancedOptionsEnabled && !isLoading && (
<BlueButtonLinkHook style={styles.import} title={entropyButtonText} onPress={navigateToEntropy} />
)}
</View>
</KeyboardAvoidingView>
</ScrollView>