diff options
| author | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-07-19 19:50:33 (GMT) |
|---|---|---|
| committer | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-07-19 19:50:33 (GMT) |
| commit | a01fb7df573e13a6f6b9fbf2e7688d4e9713df6d (patch) | |
| tree | 5118831a0fa174681ade9aaf850b7613309a2803 /wasp/apps/clock.py | |
| parent | 6686f17e724b9a22318ff2248ce126a97dd19db4 (diff) | |
Introduction basic notification support
This requires a modified version of Gadgetbridge and currently works by
implementing the BangleJS protocol.
In Gadgetbridge ensure "Sync time" is *not* set and choose "Don't pair"
when adding the PineTime device.
Diffstat (limited to 'wasp/apps/clock.py')
| -rw-r--r-- | wasp/apps/clock.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wasp/apps/clock.py b/wasp/apps/clock.py index f09f2d4..a3134a0 100644 --- a/wasp/apps/clock.py +++ b/wasp/apps/clock.py @@ -35,6 +35,7 @@ class ClockApp(): def __init__(self): self.meter = wasp.widgets.BatteryMeter() + self.notifier = wasp.widgets.Notifier() def foreground(self): """Activate the application.""" @@ -87,4 +88,5 @@ class ClockApp(): 0, 180, width=240) self.meter.update() + self.notifier.update() return True |
