diff options
Diffstat (limited to 'screen_ui.cpp')
-rw-r--r-- | screen_ui.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/screen_ui.cpp b/screen_ui.cpp index f5c4916..5ed74a6 100644 --- a/screen_ui.cpp +++ b/screen_ui.cpp @@ -350,7 +350,7 @@ void ScreenRecoveryUI::draw_screen_locked() { gr_color(0, 0, 0, 255); gr_clear(); - if (currentIcon == INSTALLING_UPDATE) { + if (currentIcon == INSTALLING_UPDATE || currentIcon == VIEWING_LOG) { size_t y = header_height_ + 4; draw_background_locked(currentIcon); @@ -688,6 +688,8 @@ void ScreenRecoveryUI::ShowFile(FILE* fp) { offsets.push_back(ftell(fp)); ClearText(); + SetBackground(RecoveryUI::VIEWING_LOG); + struct stat sb; fstat(fileno(fp), &sb); |