REF: Remove Local Trader from Wallet view

This commit is contained in:
ncoelho 2020-04-16 11:54:51 +02:00
parent 0e5188c76d
commit f9aadec59b
2 changed files with 1 additions and 25 deletions

View File

@ -344,7 +344,7 @@ export default class WalletsList extends Component {
justifyContent: 'space-between',
alignItems: 'center',
marginHorizontal: 16,
marginVertical: 8,
marginBottom: 16,
backgroundColor: '#eef0f4',
padding: 16,
borderRadius: 6,

View File

@ -230,7 +230,6 @@ export default class WalletTransactions extends Component {
*/}
{this.renderMarketplaceButton()}
{this.state.wallet.type === LightningCustodianWallet.type && Platform.OS === 'ios' && this.renderLappBrowserButton()}
{this.state.wallet.allowHodlHodlTrading() && this.renderHodlHodlButton()}
</View>
<Text
style={{
@ -384,29 +383,6 @@ export default class WalletTransactions extends Component {
);
};
renderHodlHodlButton = () => {
return (
<TouchableOpacity
onPress={() => {
this.props.navigation.navigate('HodlHodl', { fromWallet: this.state.wallet });
}}
style={{
marginLeft: 5,
backgroundColor: '#f2f2f2',
borderRadius: 9,
minHeight: 49,
flex: 1,
paddingHorizontal: 8,
justifyContent: 'center',
flexDirection: 'row',
alignItems: 'center',
}}
>
<Text style={{ color: '#062453', fontSize: 18 }}>local trader</Text>
</TouchableOpacity>
);
};
onWalletSelect = async wallet => {
if (wallet) {
NavigationService.navigate('WalletTransactions', {