Skip to content

Commit

Permalink
Updated the src/displayapp/screens/ApplicationsList.h to match the ne…
Browse files Browse the repository at this point in the history
…west 1.14 ApplicationsList.h file.
  • Loading branch information
JustScott committed Jan 10, 2024
1 parent 4eac31b commit a750e7a
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions src/displayapp/screens/ApplicationList.h
Original file line number Diff line number Diff line change
Expand Up @@ -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<Tile::Applications, appsPerScreen * nScreens> 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<nScreens> screens;
};
}
Expand Down

0 comments on commit a750e7a

Please sign in to comment.