1
0

kivy: updates

This commit is contained in:
ThomasV
2015-12-05 18:14:17 +01:00
parent 84b18e0949
commit 9b2885e697
4 changed files with 19 additions and 10 deletions

View File

@@ -309,6 +309,7 @@ class FxPlugin(BasePlugin, ThreadJob):
def on_history(self):
pass
@hook
def exchange_rate(self):
'''Returns None, or the exchange rate as a Decimal'''
rate = self.exchange.quotes.get(self.ccy)

View File

@@ -9,3 +9,7 @@ class Plugin(FxPlugin):
def on_quotes(self):
self.print_error("on quotes", self.ccy)
self.window.fiat_unit = self.ccy
def on_history(self):
self.print_error("on history")
self.window.history_screen.update()