From 888c356c983bf2d02e527b78fc5387e6e93616a4 Mon Sep 17 00:00:00 2001 From: Willy-JL <49810075+Willy-JL@users.noreply.github.com> Date: Sun, 19 Mar 2023 18:45:23 +0000 Subject: [PATCH] Make the lockscreen statusbar setting actually work --- applications/services/gui/gui.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/applications/services/gui/gui.c b/applications/services/gui/gui.c index 8d64d7ebf..6ca38a942 100644 --- a/applications/services/gui/gui.c +++ b/applications/services/gui/gui.c @@ -268,7 +268,9 @@ static void gui_redraw(Gui* gui) { bool need_attention = (gui_view_port_find_enabled(gui->layers[GuiLayerWindow]) != 0 || gui_view_port_find_enabled(gui->layers[GuiLayerFullscreen]) != 0); - gui_redraw_status_bar(gui, need_attention); + if(XTREME_SETTINGS()->lockscreen_statusbar) { + gui_redraw_status_bar(gui, need_attention); + } } else { if(!gui_redraw_fs(gui)) { if(!gui_redraw_window(gui)) {