From 96e5a549e876709ea8baa71a8d66319877390a8d Mon Sep 17 00:00:00 2001 From: Warwick New Date: Fri, 24 Jul 2026 11:55:49 +0100 Subject: [PATCH] Fix settings not being applied (Still waits until next draw) --- src/c/main.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/c/main.c b/src/c/main.c index 085c3a6..bc63065 100644 --- a/src/c/main.c +++ b/src/c/main.c @@ -63,6 +63,14 @@ static void inbox_recieved_callback(DictionaryIterator *iter, void *context) { } static void update_time() { + // Apply colour settings in the even they've been changed + text_layer_set_background_color(s_time_layer, settings.BackgroundColor); + text_layer_set_text_color(s_time_layer, settings.ForegroundColor); + text_layer_set_background_color(s_date_layer, settings.BackgroundColor); + text_layer_set_text_color(s_date_layer, settings.ForegroundColor); + text_layer_set_background_color(s_eat_layer, settings.BackgroundColor); + text_layer_set_text_color(s_eat_layer, settings.ForegroundColor); + // Get a tm structure time_t now = time(NULL); struct tm *tick_time = localtime(&now);