diff options
| author | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-07-24 16:04:46 (GMT) |
|---|---|---|
| committer | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-07-24 16:04:46 (GMT) |
| commit | 326e06bc6bda0abf02372c8f23f7c9e60cd5cfff (patch) | |
| tree | 5ad634f403a0ebf1a9b441dae41b415d66e18b90 /wasp/apps/clock.py | |
| parent | a01fb7df573e13a6f6b9fbf2e7688d4e9713df6d (diff) | |
StatusBar: Rename and add BLE connection status icon
Notifier was a dumb name so make it better. Now that we have a decent
name it should be obvious how to handle the BLE connection status icon!
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
Diffstat (limited to 'wasp/apps/clock.py')
| -rw-r--r-- | wasp/apps/clock.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/wasp/apps/clock.py b/wasp/apps/clock.py index a3134a0..4fc2487 100644 --- a/wasp/apps/clock.py +++ b/wasp/apps/clock.py @@ -35,7 +35,7 @@ class ClockApp(): def __init__(self): self.meter = wasp.widgets.BatteryMeter() - self.notifier = wasp.widgets.Notifier() + self.notifier = wasp.widgets.StatusBar() def foreground(self): """Activate the application.""" @@ -72,6 +72,7 @@ class ClockApp(): if now[3] == self.on_screen[3] and now[4] == self.on_screen[4]: if now[5] != self.on_screen[5]: self.meter.update() + self.notifier.update() self.on_screen = now return False |
