screens: Remove explicit Screen constructors

This constructor didn't do anything since DisplayApp reference was
removed from the Screen base class.
This commit is contained in:
Riku Isokoski
2023-02-22 22:18:15 +02:00
parent 7c7a8602c4
commit c78211952e
33 changed files with 32 additions and 44 deletions

View File

@@ -9,7 +9,7 @@ namespace {
}
}
Error::Error(Pinetime::Applications::DisplayApp* app, System::BootErrors error) : Screen(app) {
Error::Error(Pinetime::Applications::DisplayApp* app, System::BootErrors error) {
lv_obj_t* warningLabel = lv_label_create(lv_scr_act(), nullptr);
lv_obj_set_style_local_text_color(warningLabel, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, LV_COLOR_ORANGE);