kivy: use exchange rates in amount dialog
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
from exchange_rate import FxPlugin
|
||||
from electrum.plugins import hook
|
||||
|
||||
class Plugin(FxPlugin):
|
||||
pass
|
||||
@hook
|
||||
def load_wallet(self, wallet, window):
|
||||
self.window = window
|
||||
|
||||
def on_quotes(self):
|
||||
self.print_error("on quotes", self.ccy)
|
||||
self.window.fiat_unit = self.ccy
|
||||
|
||||
Reference in New Issue
Block a user