mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-02-10 02:04:32 +00:00
[FEATURE] Add tooltip to window and fix fee display.
This commit is contained in:
parent
6e3ed8e0a8
commit
b0907c36d0
@ -152,7 +152,7 @@ class AdvancedGas extends React.Component<Props, State> {
|
||||
* {EAC_SCHEDULING_CONFIG.SCHEDULING_GAS_LIMIT.toString()} +{' '}
|
||||
{scheduleGasPrice && scheduleGasPrice.value && scheduleGasPrice.value.toString()}{' '}
|
||||
* ({EAC_SCHEDULING_CONFIG.FUTURE_EXECUTION_COST.toString()} + {scheduleGasLimit})
|
||||
= {fee} {usd && <span>~= ${usd} USD</span>}
|
||||
= {fee} {usd && <span>~= ${usd} USD</span>}
|
||||
</span>
|
||||
</div>
|
||||
)}
|
||||
|
@ -12,4 +12,6 @@
|
||||
|
||||
.SchedulingFeeSummary {
|
||||
font-size: 12px;
|
||||
height: auto;
|
||||
min-height: 42px;
|
||||
}
|
||||
|
@ -134,7 +134,7 @@ class SimpleGas extends React.Component<Props> {
|
||||
scheduleGasPrice={scheduleGasPrice}
|
||||
render={({ fee, usd }) => (
|
||||
<span>
|
||||
{fee} {usd && <span>/ ${usd}</span>}
|
||||
{fee} {usd && <span>/ ${usd}</span>}
|
||||
</span>
|
||||
)}
|
||||
/>
|
||||
|
@ -70,7 +70,7 @@ const UnitDisplay: React.SFC<EthProps | TokenProps> = params => {
|
||||
element = (
|
||||
<span>
|
||||
{formattedValue}
|
||||
<span>{symbol ? ` ${symbol}` : ''}</span>
|
||||
<span>{symbol ? <> ${symbol}</> : ''}</span>
|
||||
</span>
|
||||
);
|
||||
}
|
||||
|
@ -125,7 +125,7 @@
|
||||
"SCHEDULE_GAS_PRICE": "Future Gas Price",
|
||||
"SCHEDULE_GAS_LIMIT": "Future Gas Limit",
|
||||
"SCHEDULE_WINDOW_SIZE": "Window ",
|
||||
"SCHEDULE_WINDOW_SIZE_TOOLTIP": "Window ",
|
||||
"SCHEDULE_WINDOW_SIZE_TOOLTIP": "Range of blocks or minutes during which the transaction may be executed. ",
|
||||
"SEND_GAS": "Gas ",
|
||||
"SEND_TRANSFERTOTAL": "Send Entire Balance ",
|
||||
"SEND_GENERATE": "Generate Transaction ",
|
||||
|
Loading…
x
Reference in New Issue
Block a user