@@ -38,27 +38,8 @@ namespace Pinetime {
38
38
39
39
static constexpr int appsPerScreen = 6 ;
40
40
41
- static constexpr int nScreens = UserAppTypes::Count > 0 ? (UserAppTypes::Count - 1 ) / appsPerScreen + 1 : 1 ;
41
+ static constexpr int nScreens = (UserAppTypes::Count/ appsPerScreen)+ 1 ;
42
42
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*/
62
43
ScreenList<nScreens> screens;
63
44
};
64
45
}
0 commit comments