Skip to content

Commit a750e7a

Browse files
committed
Updated the src/displayapp/screens/ApplicationsList.h to match the newest 1.14 ApplicationsList.h file.
1 parent 4eac31b commit a750e7a

File tree

1 file changed

+1
-20
lines changed

1 file changed

+1
-20
lines changed

src/displayapp/screens/ApplicationList.h

+1-20
Original file line numberDiff line numberDiff line change
@@ -38,27 +38,8 @@ namespace Pinetime {
3838

3939
static constexpr int appsPerScreen = 6;
4040

41-
static constexpr int nScreens = UserAppTypes::Count > 0 ? (UserAppTypes::Count - 1) / appsPerScreen + 1 : 1;
41+
static constexpr int nScreens = (UserAppTypes::Count/appsPerScreen)+1;
4242

43-
/*<<<<<<< HEAD
44-
=======
45-
static constexpr std::array<Tile::Applications, appsPerScreen * nScreens> applications {{
46-
{Symbols::stopWatch, Apps::StopWatch},
47-
{Symbols::clock, Apps::Alarm},
48-
{Symbols::hourGlass, Apps::Timer},
49-
{Symbols::shoe, Apps::Steps},
50-
{Symbols::heartBeat, Apps::HeartRate},
51-
{Symbols::music, Apps::Music},
52-
53-
{Symbols::paintbrush, Apps::Paint},
54-
{Symbols::paddle, Apps::Paddle},
55-
{"2", Apps::Twos},
56-
{Symbols::drum, Apps::Metronome},
57-
{Symbols::map, Apps::Navigation},
58-
{Symbols::calendar, Apps::Calendar},
59-
// {"M", Apps::Motion},
60-
}};
61-
>>>>>>> calendar_pr/rebase_calendar*/
6243
ScreenList<nScreens> screens;
6344
};
6445
}

0 commit comments

Comments
 (0)