RogueMaster / flipperzero-firmware-wPlugins

RogueMaster Flipper Zero Firmware

Home Page:https://www.patreon.com/RogueMaster

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

StatusBar drawn on menus

LeeroysHub opened this issue · comments

Describe the bug.

If Clock is enabled on desktop, it draws on power menu and up arrow shortcut menu.

I added this code to gui.c to fix.

static void gui_redraw_status_bar(Gui* gui, bool need_attention) {
ViewPortArray_it_t it;
uint8_t left_used = 0;
uint8_t right_used = 0;
uint8_t left_slim_used = 0;
uint8_t right_slim_used = 0;
uint8_t top_used = 0;
uint8_t width;

//We dont want to draw the status bar if its hidden.
if(gui->hide_statusbar_count > 0) {
    return;
}

Reproduction

  1. Enable Clock
  2. Hold back t power off and view clock!

Target

No response

Logs

No response

Anything else?

No response

Thank you! Will add

New BLE Spam app is in the latest RM build and coming to Public Release tonight!