mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-30 17:01:34 +00:00
improve fee tooltip
This commit is contained in:
parent
cb709d8f57
commit
99cc3fcf90
1 changed files with 2 additions and 2 deletions
|
@ -33,10 +33,10 @@ class FeeSlider(QSlider):
|
|||
if self.dyn:
|
||||
tooltip = fee_levels[pos] + '\n' + rate_str
|
||||
else:
|
||||
tooltip = rate_str
|
||||
tooltip = 'Fixed rate: ' + rate_str
|
||||
if self.config.has_fee_estimates():
|
||||
i = self.config.reverse_dynfee(fee_rate)
|
||||
tooltip += '\n' + (_('low fee') if i < 0 else 'Within %d blocks'%i)
|
||||
tooltip += '\n' + (_('Low fee') if i < 0 else 'Within %d blocks'%i)
|
||||
return tooltip
|
||||
|
||||
def update(self):
|
||||
|
|
Loading…
Add table
Reference in a new issue