classic-lite

Minimalist rewrite of Łukasz Zalewski's "classic" pebble watchface
git clone https://git.instinctive.eu/classic-lite.git
Log | Files | Refs | README | LICENSE

commit 10c21498bbdcfe1d9141a3ac74144e0b6ad7d1dc
parent ddbd517d25e0bd2160ed8b869b64e529abcc876a
Author: Natasha Kerensikova <natacha@instinctive.eu>
Date:   Sun, 17 Jan 2016 17:48:53 +0000

Fix a bug in the battery icon on low battery levels
Diffstat:
Msrc/classic-lite.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/classic-lite.c b/src/classic-lite.c @@ -654,7 +654,7 @@ icon_layer_draw(Layer *layer, GContext *ctx) { 0, GCornerNone); } graphics_context_set_fill_color(ctx, background_color); - if (current_battery >= 5) + if (current_battery < 100) graphics_fill_rect(ctx, GRect(pt.x + 1 + current_battery / 5, pt.y + 1, 20 - current_battery / 5, 5),