mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 18:00:17 +01:00
REF: Remove Local Trader from Wallet view
This commit is contained in:
parent
0e5188c76d
commit
f9aadec59b
@ -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,
|
||||
|
@ -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', {
|
||||
|
Loading…
Reference in New Issue
Block a user