Fixed bug number 10204.
This commit is contained in:
parent
60a77deb0d
commit
488c4c1e34
|
@ -1398,7 +1398,7 @@ static void UIFlowPhoto_ScrOpen(lv_obj_t* obj)
|
|||
|
||||
/* never closed */
|
||||
gPhotoData.State = PHOTO_ST_WARNING_MENU;
|
||||
UIFlowWrnMsgAPI_Open_StringID(LV_PLUGIN_STRING_ID_STRID_PLEASE_INSERT_SD, 1000);
|
||||
// UIFlowWrnMsgAPI_Open_StringID(LV_PLUGIN_STRING_ID_STRID_PLEASE_INSERT_SD, 1000);
|
||||
// UIFlowMenuCommonConfirmAPI_Open(IDM_FORMAT);
|
||||
// return;
|
||||
#endif
|
||||
|
|
|
@ -110,6 +110,11 @@ static void UIFlowPlay_IconImageSize(BOOL bShow)
|
|||
} else {
|
||||
OriImgHeight = (UINT32)hd_vdoframe_info.dim.h;
|
||||
}
|
||||
if (uiFileFmt & (PBFMT_MOVMJPG | PBFMT_AVI | PBFMT_MP4 | PBFMT_TS)) {
|
||||
lv_obj_set_hidden(container_play_scr_uiflowplay, false);
|
||||
} else {
|
||||
lv_obj_set_hidden(container_play_scr_uiflowplay, true);
|
||||
}
|
||||
|
||||
//hide icon
|
||||
if (bShow == FALSE) {
|
||||
|
@ -988,6 +993,7 @@ static void UIFlowPlay_ScrOpen(lv_obj_t* obj)
|
|||
update_playicons(g_PlbData.State);
|
||||
// Ux_SendEvent(0, NVTEVT_SYSTEM_MODE, 1, PRIMARY_MODE_PHOTO);
|
||||
UIFlowWrnMsgAPI_Open_StringID(LV_PLUGIN_STRING_ID_STRING_NO_FILE, 3000);
|
||||
lv_obj_set_hidden(container_play_scr_uiflowplay, true);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user