Fixed:Message screen tips strings can not refresh.
This commit is contained in:
parent
95e36546cd
commit
07762c255c
|
@ -1349,6 +1349,7 @@ static void UIFlowPlay_ChildScrClose(lv_obj_t* obj, const void * data)
|
|||
}
|
||||
break;
|
||||
case NVTRET_ENTER_MENU:
|
||||
break;
|
||||
DBG_DUMP("NVTRET_ENTER_MENU");
|
||||
//#NT#2023/11/03#Eric - begin
|
||||
//#NT#Support //#NT#Support IVOT_N12144_CO-148 -3
|
||||
|
|
|
@ -206,9 +206,7 @@ void UIFlowWrnMsgAPI_Open_StringID(lv_plugin_res_id id, uint16_t auto_close_time
|
|||
|
||||
void UIFlowWrnMsgEventCallback_OnOpen(lv_obj_t* obj)
|
||||
{
|
||||
|
||||
|
||||
|
||||
evt = NVTEVT_NULL;
|
||||
}
|
||||
|
||||
static void UIFlowWrnMsg_OnNVTMSG(lv_obj_t* obj, const LV_USER_EVENT_NVTMSG_DATA* msg)
|
||||
|
@ -223,7 +221,8 @@ static void UIFlowWrnMsg_OnNVTMSG(lv_obj_t* obj, const LV_USER_EVENT_NVTMSG_DATA
|
|||
{
|
||||
printf("Complete format emmc.\n");
|
||||
lv_plugin_msgbox_set_text(msgbox, LV_PLUGIN_STRING_ID_STRING_COMPLETED);
|
||||
lv_plugin_label_set_text(label_msg_scr_uiflowwrnmsg, LV_PLUGIN_STRING_ID_STRING_COMPLETED);
|
||||
// lv_plugin_label_set_text(label_msg_scr_uiflowwrnmsg, LV_PLUGIN_STRING_ID_STRING_COMPLETED);
|
||||
lv_label_set_text_fmt(label_msg_scr_uiflowwrnmsg, "Completed!");
|
||||
lv_msgbox_start_auto_close(msgbox, 3000);
|
||||
break;
|
||||
}
|
||||
|
@ -234,7 +233,8 @@ static void UIFlowWrnMsg_OnNVTMSG(lv_obj_t* obj, const LV_USER_EVENT_NVTMSG_DATA
|
|||
if(ret == CMD_FORMAT_SD_OK)
|
||||
{
|
||||
lv_plugin_msgbox_set_text(msgbox, LV_PLUGIN_STRING_ID_STRING_COMPLETED);
|
||||
lv_plugin_label_set_text(label_msg_scr_uiflowwrnmsg, LV_PLUGIN_STRING_ID_STRING_COMPLETED);
|
||||
// lv_plugin_label_set_text(label_msg_scr_uiflowwrnmsg, LV_PLUGIN_STRING_ID_STRING_COMPLETED);
|
||||
lv_label_set_text_fmt(label_msg_scr_uiflowwrnmsg, "Completed!");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user