fix(event): fix typos and tests

This commit is contained in:
Gabor Kiss-Vamosi
2023-03-06 12:59:57 +01:00
parent d81e126b6f
commit 6cd98892a4
25 changed files with 30 additions and 29 deletions

View File

@@ -20,6 +20,7 @@ void lv_example_switch_1(void)
sw = lv_switch_create(lv_scr_act());
lv_obj_add_event(sw, event_handler, LV_EVENT_ALL, NULL);
lv_obj_add_flag(sw, LV_OBJ_FLAG_EVENT_BUBBLE);
sw = lv_switch_create(lv_scr_act());
lv_obj_add_state(sw, LV_STATE_CHECKED);