Skip to content

Commit

Permalink
Version 1.9. Adjusted the extra info indicator for Basalt.
Browse files Browse the repository at this point in the history
  • Loading branch information
CocoaBob committed Feb 28, 2016
1 parent 58399c1 commit 07c18e2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion appinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
"chalk"
],
"uuid": "30663f9d-bae8-4557-b8b9-c890b1094f24",
"versionLabel": "1.8",
"versionLabel": "1.9",
"watchapp": {
"watchface": false
}
Expand Down
5 changes: 4 additions & 1 deletion src/ui_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -342,10 +342,13 @@ void draw_from_to(GContext* ctx, Layer *display_layer,
#if EXTRA_INFO_IS_ENABLED
// Draw warning icon
if (draw_extra_info_indicator) {
GRect frame_mention = GRect(frame_from.origin.x + frame_from.size.w + CELL_MARGIN,
GRect frame_mention = GRect(frame_from.origin.x + frame_from.size.w,
CELL_HEIGHT_2 - CELL_SUB_ICON_SIZE / 2,
CELL_SUB_ICON_SIZE,
CELL_SUB_ICON_SIZE);
#ifdef PBL_ROUND
frame_mention.origin.x += CELL_MARGIN;
#endif
draw_image_in_rect(ctx, is_inverted?RESOURCE_ID_IMG_MENTION_DARK:RESOURCE_ID_IMG_MENTION_LIGHT, frame_mention);
}
#endif
Expand Down
2 changes: 1 addition & 1 deletion src/window_main_menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ static void menu_layer_draw_row_callback(GContext *ctx, Layer *cell_layer, MenuI
if (row == MAIN_MENU_SECTION_ABOUT_ROW_AUTHOR) {
menu_cell_basic_draw(ctx, cell_layer, _("Developer"), "@CocoaBob", NULL);
} else if (row == MAIN_MENU_SECTION_ABOUT_ROW_VERSION) {
menu_cell_basic_draw(ctx, cell_layer, _("Version"), "1.8", NULL);
menu_cell_basic_draw(ctx, cell_layer, _("Version"), "1.9", NULL);
}
}
}
Expand Down

0 comments on commit 07c18e2

Please sign in to comment.