screens: Remove unused DisplayApp parameters

This commit is contained in:
Riku Isokoski
2023-02-22 22:36:38 +02:00
parent c78211952e
commit 26478d9006
72 changed files with 99 additions and 156 deletions

View File

@@ -28,9 +28,7 @@ namespace {
}
}
HeartRate::HeartRate(Pinetime::Applications::DisplayApp* app,
Controllers::HeartRateController& heartRateController,
System::SystemTask& systemTask)
HeartRate::HeartRate(Controllers::HeartRateController& heartRateController, System::SystemTask& systemTask)
: heartRateController {heartRateController}, systemTask {systemTask} {
bool isHrRunning = heartRateController.State() != Controllers::HeartRateController::States::Stopped;
label_hr = lv_label_create(lv_scr_act(), nullptr);