1
0

kivy: fee_dialog

This commit is contained in:
ThomasV
2016-01-25 12:25:09 +01:00
parent c0295c767e
commit fa7fba53fc
2 changed files with 66 additions and 6 deletions

View File

@@ -162,13 +162,13 @@ class SettingsDialog(Factory.Popup):
return 'Dynamic, %d%%'%f
else:
F = self.config.get('fee_per_kb', RECOMMENDED_FEE)
return self.app.format_amount(F) + ' ' + self.app.base_unit + '/kB'
return self.app.format_amount_and_units(F) + '/kB'
def fee_dialog(self, label, dt):
from fee_dialog import FeeDialog
def cb():
label.status = self.fee_status()
d = FeeDialog(self.config, cb)
d = FeeDialog(self.app, self.config, cb)
d.open()
def fx_status(self):