summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Soffke <christian.soffke@gmail.com>2021-12-20 19:40:27 +0100
committerSolomon Peachy <pizza@shaftnet.org>2022-01-01 22:00:09 -0500
commitabfee36ce0df251f0c188194caec4f6ff5c9026d (patch)
tree28bba877ef532c056bc6acb533c9ced2ad40e2b9
parent025f780685c60174cb1f15799601957fe384f376 (diff)
downloadrockbox-abfee36ce0.tar.gz
rockbox-abfee36ce0.zip
PictureFlow: enable theme in settings menus
Submenus for adjusting settings were previously left unthemed Change-Id: I073c7aabfdd9ce4e4c10c4c0dc689112c29b2a58
-rw-r--r--apps/plugins/pictureflow/pictureflow.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugins/pictureflow/pictureflow.c b/apps/plugins/pictureflow/pictureflow.c
index ec6e51c34d..2217c15678 100644
--- a/apps/plugins/pictureflow/pictureflow.c
+++ b/apps/plugins/pictureflow/pictureflow.c
@@ -4035,7 +4035,11 @@ static int pictureflow_main(const char* selected_file)
#ifdef USEGSLIB
grey_show(false);
#endif
+ FOR_NB_SCREENS(i)
+ rb->viewportmanager_theme_enable(i, true, NULL);
ret = main_menu();
+ FOR_NB_SCREENS(i)
+ rb->viewportmanager_theme_undo(i, false);
if ( ret == -2 ) return PLUGIN_GOTO_WPS;
if ( ret == -1 ) return PLUGIN_OK;
if ( ret != 0 ) return ret;