From 2f8cab91903fd14f475a40be7c819585568fa5ef Mon Sep 17 00:00:00 2001 From: Christian Soffke Date: Fri, 26 Jul 2024 23:25:23 +0200 Subject: plugins: properties: keep theme enabled Launching a themed plugin can cause the screen to flash due to the theme being disabled, before it is re-enabled right away. For the Properties plugin in particular, this seems a bit annoying and unnecessary. Change-Id: Ifa0275b453369051cc63a3c626551f54120fdb41 --- apps/plugins/properties.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'apps/plugins/properties.c') diff --git a/apps/plugins/properties.c b/apps/plugins/properties.c index d3fac59bde..dcd3d89edf 100644 --- a/apps/plugins/properties.c +++ b/apps/plugins/properties.c @@ -321,8 +321,6 @@ enum plugin_status plugin_start(const void* parameter) rb->action_userabort(TIMEOUT_BLOCK); return PLUGIN_OK; } - FOR_NB_SCREENS(i) - rb->viewportmanager_theme_enable(i, true, NULL); if (props_type == PROPS_MUL_ID3) ret = assemble_track_info(NULL, NULL); @@ -349,8 +347,5 @@ enum plugin_status plugin_start(const void* parameter) rb->browse_id3(&id3, 0, 0, NULL, mul_id3_count) : (stats.canceled ? 0 : -1); - FOR_NB_SCREENS(i) - rb->viewportmanager_theme_undo(i, false); - return ret == -1 ? PLUGIN_ERROR : ret == 1 ? PLUGIN_USB_CONNECTED : PLUGIN_OK; } -- cgit v1.2.3