apps: calc: Remember the results between invocations
Currently if you spend more then 15 seconds looking up figures or transcribing the answer then the system will switch back to the clock and the answer will be lost. Fix this by remembering the output between invocations. Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
This commit is contained in:
parent
21210c5c07
commit
0318640f62
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ class CalculatorApp():
|
|||
|
||||
def foreground(self):
|
||||
self._draw()
|
||||
self.output = ""
|
||||
self._update()
|
||||
wasp.system.request_event(wasp.EventMask.TOUCH)
|
||||
|
||||
def touch(self, event):
|
||||
|
|
Loading…
Reference in a new issue