feat(chart,calendar): two grammar corrections (#7340)

This commit is contained in:
Victor Wheeler
2024-11-29 09:42:39 -07:00
committed by GitHub
parent b05382e613
commit 1a0b6d313e
13 changed files with 17 additions and 15 deletions

View File

@@ -22,7 +22,7 @@ void lv_example_calendar_1(void)
lv_obj_add_event_cb(calendar, event_handler, LV_EVENT_ALL, NULL);
lv_calendar_set_today_date(calendar, 2021, 02, 23);
lv_calendar_set_showed_date(calendar, 2021, 02);
lv_calendar_set_month_shown(calendar, 2021, 02);
/*Highlight a few days*/
static lv_calendar_date_t highlighted_days[3]; /*Only its pointer will be saved so should be static*/

View File

@@ -8,7 +8,7 @@ void lv_example_calendar_2(void)
lv_obj_align(calendar, LV_ALIGN_TOP_MID, 0, 0);
lv_calendar_set_today_date(calendar, 2024, 03, 22);
lv_calendar_set_showed_date(calendar, 2024, 03);
lv_calendar_set_month_shown(calendar, 2024, 03);
#if LV_USE_CALENDAR_HEADER_DROPDOWN
lv_calendar_header_dropdown_create(calendar);