summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--watchapp/src/watchapp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/watchapp/src/watchapp.c b/watchapp/src/watchapp.c
index ad7cbc4..7fc40f4 100644
--- a/watchapp/src/watchapp.c
+++ b/watchapp/src/watchapp.c
@@ -48,13 +48,13 @@ static void handle_second_tick(struct tm* tick_time, TimeUnits units_changed)
{
static char time_text[] = "00:00";
static char date_text[] = "September 30 ";
- static char step_text[] = "999999 steps";
+ static char step_text[] = "999999";
strftime(time_text, sizeof(time_text), "%k:%M", tick_time);
strftime(date_text, sizeof(date_text), "%B %d", tick_time);
if (monitor_mode == mmSteps)
- snprintf(step_text, sizeof(step_text), "%lu steps", step_total_this_period);
+ snprintf(step_text, sizeof(step_text), "%lu", step_total_this_period);
else
- snprintf(step_text, sizeof(step_text), "Sleeping");
+ snprintf(step_text, sizeof(step_text), "ZzZz");
text_layer_set_text(time_layer, time_text);
text_layer_set_text(date_layer, date_text);
text_layer_set_text(step_layer, step_text);
@@ -105,7 +105,7 @@ static void window_load(Window *window)
text_layer_set_font(date_layer, fonts_get_system_font(FONT_KEY_GOTHIC_28_BOLD));
// Init the text layer used to show steps
- step_layer = text_layer_create(GRect(4, 56, 144-4, 28));
+ step_layer = text_layer_create(GRect(16, 0, 65, 16));
text_layer_set_text_color(step_layer, GColorWhite);
text_layer_set_background_color(step_layer, GColorClear);
text_layer_set_font(date_layer, fonts_get_system_font(FONT_KEY_GOTHIC_28_BOLD));