1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-28 07:03:00 +08:00

fix(msgbox): return the footer in lv_msgbox_get_footer (#5804)

This commit is contained in:
Gabor Kiss-Vamosi 2024-03-08 05:54:02 +01:00 committed by GitHub
parent b54349953a
commit 8d453b5705
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -235,7 +235,7 @@ lv_obj_t * lv_msgbox_get_footer(lv_obj_t * obj)
{
LV_ASSERT_OBJ(obj, MY_CLASS);
lv_msgbox_t * mbox = (lv_msgbox_t *)obj;
return mbox->header;
return mbox->footer;
}
lv_obj_t * lv_msgbox_get_content(lv_obj_t * obj)