mirror of
https://github.com/RoboSats/robosats.git
synced 2024-12-14 19:36:24 +00:00
Explicit buyer & seller fees in frontend
This commit is contained in:
parent
89502500c7
commit
c9cdc2743d
@ -296,7 +296,7 @@ bottomBarDesktop =()=>{
|
|||||||
<this.dialogProfile/>
|
<this.dialogProfile/>
|
||||||
<Grid container xs={12}>
|
<Grid container xs={12}>
|
||||||
|
|
||||||
<Grid item xs={2}>
|
<Grid item xs={1.9}>
|
||||||
<div style={{display: this.props.avatarLoaded ? '':'none'}}>
|
<div style={{display: this.props.avatarLoaded ? '':'none'}}>
|
||||||
<ListItemButton onClick={this.handleClickOpenProfile} >
|
<ListItemButton onClick={this.handleClickOpenProfile} >
|
||||||
<Tooltip open={(this.state.active_order_id > 0 & !this.state.profileShown & this.props.avatarLoaded) ? true: false}
|
<Tooltip open={(this.state.active_order_id > 0 & !this.state.profileShown & this.props.avatarLoaded) ? true: false}
|
||||||
@ -318,7 +318,7 @@ bottomBarDesktop =()=>{
|
|||||||
</div>
|
</div>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
||||||
<Grid item xs={2}>
|
<Grid item xs={1.9}>
|
||||||
<ListItem className="bottomItem">
|
<ListItem className="bottomItem">
|
||||||
<ListItemIcon size="small">
|
<ListItemIcon size="small">
|
||||||
<InventoryIcon/>
|
<InventoryIcon/>
|
||||||
@ -331,7 +331,7 @@ bottomBarDesktop =()=>{
|
|||||||
</ListItem>
|
</ListItem>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
||||||
<Grid item xs={2}>
|
<Grid item xs={1.9}>
|
||||||
<ListItem className="bottomItem">
|
<ListItem className="bottomItem">
|
||||||
<ListItemIcon size="small">
|
<ListItemIcon size="small">
|
||||||
<SellIcon/>
|
<SellIcon/>
|
||||||
@ -344,7 +344,7 @@ bottomBarDesktop =()=>{
|
|||||||
</ListItem>
|
</ListItem>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
||||||
<Grid item xs={2}>
|
<Grid item xs={1.9}>
|
||||||
<ListItem className="bottomItem">
|
<ListItem className="bottomItem">
|
||||||
<ListItemIcon size="small">
|
<ListItemIcon size="small">
|
||||||
<SmartToyIcon/>
|
<SmartToyIcon/>
|
||||||
@ -357,7 +357,7 @@ bottomBarDesktop =()=>{
|
|||||||
</ListItem>
|
</ListItem>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
||||||
<Grid item xs={2}>
|
<Grid item xs={1.9}>
|
||||||
<ListItem className="bottomItem">
|
<ListItem className="bottomItem">
|
||||||
<ListItemIcon size="small">
|
<ListItemIcon size="small">
|
||||||
<PriceChangeIcon/>
|
<PriceChangeIcon/>
|
||||||
@ -370,7 +370,7 @@ bottomBarDesktop =()=>{
|
|||||||
</ListItem>
|
</ListItem>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
||||||
<Grid item xs={1}>
|
<Grid item xs={1.5}>
|
||||||
<ListItem className="bottomItem">
|
<ListItem className="bottomItem">
|
||||||
<ListItemIcon size="small">
|
<ListItemIcon size="small">
|
||||||
<PercentIcon/>
|
<PercentIcon/>
|
||||||
@ -378,7 +378,7 @@ bottomBarDesktop =()=>{
|
|||||||
<ListItemText
|
<ListItemText
|
||||||
primaryTypographyProps={{fontSize: '14px'}}
|
primaryTypographyProps={{fontSize: '14px'}}
|
||||||
secondaryTypographyProps={{fontSize: '12px'}}
|
secondaryTypographyProps={{fontSize: '12px'}}
|
||||||
primary={this.state.fee*100}
|
primary={this.state.fee*100+"% (buyer)"}
|
||||||
secondary="Trade Fee" />
|
secondary="Trade Fee" />
|
||||||
</ListItem>
|
</ListItem>
|
||||||
</Grid>
|
</Grid>
|
||||||
@ -494,8 +494,9 @@ bottomBarDesktop =()=>{
|
|||||||
<ListItemText
|
<ListItemText
|
||||||
primaryTypographyProps={{fontSize: '14px'}}
|
primaryTypographyProps={{fontSize: '14px'}}
|
||||||
secondaryTypographyProps={{fontSize: '12px'}}
|
secondaryTypographyProps={{fontSize: '12px'}}
|
||||||
primary={this.state.fee*100+"%"}
|
secondary="Trading fees">
|
||||||
secondary="Trading fee" />
|
{this.state.fee*100}% <small>(buyer)</small> | 0.0% <small>(seller)</small>
|
||||||
|
</ListItemText>
|
||||||
</ListItem>
|
</ListItem>
|
||||||
</List>
|
</List>
|
||||||
|
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user