Fixed bug number 10297.
This commit is contained in:
parent
8f58fd4c10
commit
29b3ede6a7
|
@ -584,6 +584,7 @@ void LV_MenuItem_OnOpen(lv_obj_t* obj)
|
||||||
|
|
||||||
static void LV_MenuCommonItem_UpdateContent(TM_MENU *pMenu)
|
static void LV_MenuCommonItem_UpdateContent(TM_MENU *pMenu)
|
||||||
{
|
{
|
||||||
|
UIMenuStoreInfo *puiPara = sf_ui_para_get();
|
||||||
TM_PAGE *pPage;
|
TM_PAGE *pPage;
|
||||||
TM_ITEM *pItem;
|
TM_ITEM *pItem;
|
||||||
TM_OPTION *pOption;
|
TM_OPTION *pOption;
|
||||||
|
@ -738,6 +739,18 @@ static void LV_MenuCommonItem_UpdateContent(TM_MENU *pMenu)
|
||||||
lv_plugin_label_set_text(label_option_1_scr_uiflowmenucommonitem, LV_PLUGIN_STRING_ID_STRID_0);
|
lv_plugin_label_set_text(label_option_1_scr_uiflowmenucommonitem, LV_PLUGIN_STRING_ID_STRID_0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if(pItem->ItemId == IDM_MAX_NUM_DAY)
|
||||||
|
{
|
||||||
|
#define SEND_MAX_NUM_UNLIMITED 0
|
||||||
|
if (SEND_MAX_NUM_UNLIMITED == puiPara->SendMaxNum)
|
||||||
|
{
|
||||||
|
lv_plugin_label_set_text(label_option_1_scr_uiflowmenucommonitem, pOption->TextId);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
lv_label_set_text_fmt(label_option_1_scr_uiflowmenucommonitem, "%d", puiPara->SendMaxNum);
|
||||||
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
lv_plugin_label_set_text(label_option_1_scr_uiflowmenucommonitem, pOption->TextId);
|
lv_plugin_label_set_text(label_option_1_scr_uiflowmenucommonitem, pOption->TextId);
|
||||||
lv_plugin_label_update_font(label_option_1_scr_uiflowmenucommonitem, LV_OBJ_PART_MAIN);
|
lv_plugin_label_update_font(label_option_1_scr_uiflowmenucommonitem, LV_OBJ_PART_MAIN);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user