Fixed bug when open play screen.

This commit is contained in:
xiaojiazhu 2023-10-23 14:35:52 +08:00
parent a9d2903ad3
commit 2f2ee6c278

View File

@ -848,6 +848,11 @@ static void UIFlowPhoto_OnExeZoomInStop(lv_obj_t* obj)
static void UIFlowPhoto_OnExeOpenPlayScreen(lv_obj_t* obj)
{
if (UIStorageCheck(STORAGE_CHECK_ERROR, NULL) == TRUE) {
gPhotoData.State = PHOTO_ST_WARNING_MENU;
UIFlowWrnMsgAPI_Open_StringID(LV_PLUGIN_STRING_ID_STRID_PLEASE_INSERT_SD, 1000);
return;
}
Ux_SendEvent(&CustomPhotoObjCtrl, NVTEVT_FORCETO_PLAYBACK_MODE, 0);
}
// static void UIFlowPhoto_OnExeZoomOutStart(lv_obj_t* obj)