From 93cd03219e1c17a58a52f80a69bd6fb5b977d10c Mon Sep 17 00:00:00 2001 From: Daniel Thompson Date: Sun, 3 Jan 2021 14:46:47 +0000 Subject: [PATCH] apps: heart: Use theme colours for text labels Signed-off-by: Daniel Thompson --- wasp/apps/heart.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wasp/apps/heart.py b/wasp/apps/heart.py index b465cb4..45b3a69 100644 --- a/wasp/apps/heart.py +++ b/wasp/apps/heart.py @@ -23,6 +23,7 @@ class HeartApp(): # take long enough it is not needed draw = wasp.watch.drawable draw.fill() + draw.set_color(wasp.system.theme('bright')) draw.string('PPG graph', 0, 6, width=240) wasp.system.request_tick(1000 // 8) @@ -41,6 +42,7 @@ class HeartApp(): spl = self._hrdata.preprocess(wasp.watch.hrs.read_hrs()) if len(self._hrdata.data) >= 240: + draw.set_color(wasp.system.theme('bright')) draw.string('{} bpm'.format(self._hrdata.get_heart_rate()), 0, 6, width=240)