Fixed bug number 10191.
This commit is contained in:
parent
1b59e48eec
commit
76501880ea
|
@ -57,7 +57,7 @@ static void task_msgbox_timer_cb(lv_task_t* task)
|
|||
return;
|
||||
}
|
||||
if(string){
|
||||
snprintf(buf, BUF_LENGTH, "%s\n\n(%ds)\r\n", string->ptr, autoClose/1000);
|
||||
snprintf(buf, BUF_LENGTH, "%s\n\n%ds\r\n", string->ptr, autoClose/1000);
|
||||
// lv_msgbox_set_text(msgbox, buf);
|
||||
lv_label_set_text_fmt(label_msg_scr_uiflowwrnmsg, "%s", buf);
|
||||
}
|
||||
|
@ -126,7 +126,7 @@ void UIFlowWrnMsgAPI_Open_StringID(lv_plugin_res_id id, uint16_t auto_close_time
|
|||
const lv_plugin_string_t* tmpstr1 = lv_plugin_get_string(msgID);
|
||||
if(LV_PLUGIN_STRING_ID_STRING_ENTER_WORK == msgID)
|
||||
{
|
||||
snprintf(buf, BUF_LENGTH, "%s\n\n(%ds)\r\n", tmpstr1->ptr, autoClose/1000);
|
||||
snprintf(buf, BUF_LENGTH, "%s\n\n%ds\r\n", tmpstr1->ptr, autoClose/1000);
|
||||
lv_label_set_text_fmt(label_msg_scr_uiflowwrnmsg, "%s", buf);
|
||||
} else if (LV_PLUGIN_STRING_ID_STRING_UPGRADING == msgID)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user