From a750e7a4faf4475883ecc632295c96c9c29322c3 Mon Sep 17 00:00:00 2001 From: JustScott Date: Wed, 10 Jan 2024 14:20:05 -0600 Subject: [PATCH] Updated the src/displayapp/screens/ApplicationsList.h to match the newest 1.14 ApplicationsList.h file. --- src/displayapp/screens/ApplicationList.h | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/src/displayapp/screens/ApplicationList.h b/src/displayapp/screens/ApplicationList.h index 568a52967c..59346c7537 100644 --- a/src/displayapp/screens/ApplicationList.h +++ b/src/displayapp/screens/ApplicationList.h @@ -38,27 +38,8 @@ namespace Pinetime { static constexpr int appsPerScreen = 6; - static constexpr int nScreens = UserAppTypes::Count > 0 ? (UserAppTypes::Count - 1) / appsPerScreen + 1 : 1; + static constexpr int nScreens = (UserAppTypes::Count/appsPerScreen)+1; -/*<<<<<<< HEAD -======= - static constexpr std::array applications {{ - {Symbols::stopWatch, Apps::StopWatch}, - {Symbols::clock, Apps::Alarm}, - {Symbols::hourGlass, Apps::Timer}, - {Symbols::shoe, Apps::Steps}, - {Symbols::heartBeat, Apps::HeartRate}, - {Symbols::music, Apps::Music}, - - {Symbols::paintbrush, Apps::Paint}, - {Symbols::paddle, Apps::Paddle}, - {"2", Apps::Twos}, - {Symbols::drum, Apps::Metronome}, - {Symbols::map, Apps::Navigation}, - {Symbols::calendar, Apps::Calendar}, - // {"M", Apps::Motion}, - }}; ->>>>>>> calendar_pr/rebase_calendar*/ ScreenList screens; }; }