We should probably allow the user to individually control the screenshot

flash
This commit is contained in:
twinaphex 2020-07-20 01:11:08 +02:00
parent 279e142668
commit 632329f4bb

View File

@ -7574,7 +7574,7 @@ unsigned menu_displaylist_build_list(
#ifdef HAVE_SCREENSHOTS
{MENU_ENUM_LABEL_NOTIFICATION_SHOW_SCREENSHOT, PARSE_ONLY_BOOL, true },
{MENU_ENUM_LABEL_NOTIFICATION_SHOW_SCREENSHOT_DURATION, PARSE_ONLY_UINT, false },
{MENU_ENUM_LABEL_NOTIFICATION_SHOW_SCREENSHOT_FLASH, PARSE_ONLY_BOOL, false },
{MENU_ENUM_LABEL_NOTIFICATION_SHOW_SCREENSHOT_FLASH, PARSE_ONLY_BOOL, true },
#endif
};
@ -7607,15 +7607,6 @@ unsigned menu_displaylist_build_list(
notification_show_screenshot
)
build_list[i].checked = true;
#endif
break;
case MENU_ENUM_LABEL_NOTIFICATION_SHOW_SCREENSHOT_FLASH:
#ifdef HAVE_SCREENSHOTS
if ( widgets_supported &&
menu_enable_widgets &&
notification_show_screenshot
)
build_list[i].checked = true;
#endif
break;
#endif