Playlist Viewer: Fix delayed appearance of backdrop on return from plugin

Change-Id: I84ff9b581d185fecbe3c7405d3e1887715d55d17
This commit is contained in:
Christian Soffke 2022-12-16 08:02:46 +01:00
parent 28f768cb84
commit 79e6139f56

View file

@ -926,15 +926,10 @@ int plugin_load(const char* plugin, const void* parameter)
tree_unlock_cache(tree_get_context()); tree_unlock_cache(tree_get_context());
pop_current_activity_without_refresh(); pop_current_activity_without_refresh();
if (rc != PLUGIN_GOTO_WPS) if ((rc != PLUGIN_GOTO_WPS) && (get_current_activity() != ACTIVITY_WPS))
{ {
int curr_activity = get_current_activity(); FOR_NB_SCREENS(i)
if ((curr_activity != ACTIVITY_PLAYLISTVIEWER) &&
(curr_activity != ACTIVITY_WPS))
{
FOR_NB_SCREENS(i)
skin_update(CUSTOM_STATUSBAR, i, SKIN_REFRESH_ALL); skin_update(CUSTOM_STATUSBAR, i, SKIN_REFRESH_ALL);
}
} }
if (!pfn_tsr_exit) if (!pfn_tsr_exit)