kivy: updates
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user