From 6b8d82a7e32c631d8ec56b3d332c3c675b01a38c Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 12 Apr 2026 10:35:57 +0300 Subject: fix: add missing 18h progress tick (task 82) --- src/c/fastforge.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/c/fastforge.c b/src/c/fastforge.c index dd16a37..87656d2 100644 --- a/src/c/fastforge.c +++ b/src/c/fastforge.c @@ -84,10 +84,14 @@ static void timer_progress_update_proc(Layer *layer, GContext *ctx) { graphics_context_set_stroke_color(ctx, GColorBlack); int tick_12h_x = tick_x_for_seconds(total_seconds, 12 * 3600, bounds.size.w); + int tick_18h_x = tick_x_for_seconds(total_seconds, 18 * 3600, bounds.size.w); int tick_24h_x = tick_x_for_seconds(total_seconds, 24 * 3600, bounds.size.w); if (tick_12h_x >= 0) { graphics_draw_line(ctx, GPoint(tick_12h_x, 0), GPoint(tick_12h_x, bounds.size.h - 1)); } + if (tick_18h_x >= 0) { + graphics_draw_line(ctx, GPoint(tick_18h_x, 0), GPoint(tick_18h_x, bounds.size.h - 1)); + } if (tick_24h_x >= 0) { graphics_draw_line(ctx, GPoint(tick_24h_x, 0), GPoint(tick_24h_x, bounds.size.h - 1)); } -- cgit v1.2.3