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:
@@ -31,7 +31,7 @@ namespace {
|
||||
HeartRate::HeartRate(Pinetime::Applications::DisplayApp* app,
|
||||
Controllers::HeartRateController& heartRateController,
|
||||
System::SystemTask& systemTask)
|
||||
: Screen(app), heartRateController {heartRateController}, systemTask {systemTask} {
|
||||
: heartRateController {heartRateController}, systemTask {systemTask} {
|
||||
bool isHrRunning = heartRateController.State() != Controllers::HeartRateController::States::Stopped;
|
||||
label_hr = lv_label_create(lv_scr_act(), nullptr);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user