summaryrefslogtreecommitdiffstats
path: root/wear_ui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'wear_ui.cpp')
-rw-r--r--wear_ui.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/wear_ui.cpp b/wear_ui.cpp
index bfa7097ea..660a078fc 100644
--- a/wear_ui.cpp
+++ b/wear_ui.cpp
@@ -204,10 +204,11 @@ void WearRecoveryUI::InitTextParams() {
void WearRecoveryUI::Init() {
ScreenRecoveryUI::Init();
- LoadBitmap("icon_installing", &backgroundIcon[INSTALLING_UPDATE]);
- backgroundIcon[ERASING] = backgroundIcon[INSTALLING_UPDATE];
LoadBitmap("icon_error", &backgroundIcon[ERROR]);
backgroundIcon[NO_COMMAND] = backgroundIcon[ERROR];
+
+ // This leaves backgroundIcon[INSTALLING_UPDATE] and backgroundIcon[ERASING]
+ // as NULL which is fine since draw_background_locked() doesn't use them.
}
void WearRecoveryUI::SetStage(int current, int max)