From edba1d9ccfb2b16c26b12428acb71425f4f41cd5 Mon Sep 17 00:00:00 2001 From: Riku Isokoski Date: Thu, 21 Jul 2022 19:27:52 +0300 Subject: Add status icons widget --- src/displayapp/screens/ApplicationList.cpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/displayapp/screens/ApplicationList.cpp') diff --git a/src/displayapp/screens/ApplicationList.cpp b/src/displayapp/screens/ApplicationList.cpp index 9fd408e1..9f3e9568 100644 --- a/src/displayapp/screens/ApplicationList.cpp +++ b/src/displayapp/screens/ApplicationList.cpp @@ -21,10 +21,12 @@ auto ApplicationList::CreateScreenList() const { ApplicationList::ApplicationList(Pinetime::Applications::DisplayApp* app, Pinetime::Controllers::Settings& settingsController, Pinetime::Controllers::Battery& batteryController, + Pinetime::Controllers::Ble& bleController, Controllers::DateTime& dateTimeController) : Screen(app), settingsController {settingsController}, batteryController {batteryController}, + bleController {bleController}, dateTimeController {dateTimeController}, screens {app, settingsController.GetAppMenu(), CreateScreenList(), Screens::ScreenListModes::UpDown} { } @@ -43,5 +45,12 @@ std::unique_ptr ApplicationList::CreateScreen(unsigned int screenNum) co apps[i] = applications[screenNum * appsPerScreen + i]; } - return std::make_unique(screenNum, nScreens, app, settingsController, batteryController, dateTimeController, apps); + return std::make_unique(screenNum, + nScreens, + app, + settingsController, + batteryController, + bleController, + dateTimeController, + apps); } -- cgit v1.2.3-70-g09d2