Skip to content

Commit a5eac74

Browse files
committed
motion: Disable Motion app
This is a debugging app, not useful for most people. Also remove the app icon.
1 parent 0d074ee commit a5eac74

4 files changed

Lines changed: 7 additions & 6 deletions

File tree

src/displayapp/DisplayApp.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,9 @@ void DisplayApp::LoadScreen(Apps app, DisplayApp::FullRefreshDirections directio
363363
currentScreen =
364364
std::make_unique<Screens::ApplicationList>(this, settingsController, batteryController, bleController, dateTimeController);
365365
break;
366+
case Apps::Motion:
367+
// currentScreen = std::make_unique<Screens::Motion>(motionController);
368+
// break;
366369
case Apps::None:
367370
case Apps::Clock:
368371
currentScreen = std::make_unique<Screens::Clock>(dateTimeController,
@@ -493,9 +496,6 @@ void DisplayApp::LoadScreen(Apps app, DisplayApp::FullRefreshDirections directio
493496
case Apps::Metronome:
494497
currentScreen = std::make_unique<Screens::Metronome>(motorController, *systemTask);
495498
break;
496-
case Apps::Motion:
497-
currentScreen = std::make_unique<Screens::Motion>(motionController);
498-
break;
499499
case Apps::Steps:
500500
currentScreen = std::make_unique<Screens::Steps>(motionController, settingsController);
501501
break;

src/displayapp/fonts/fonts.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
},
88
{
99
"file": "FontAwesome5-Solid+Brands+Regular.woff",
10-
"range": "0xf294, 0xf242, 0xf54b, 0xf21e, 0xf1e6, 0xf017, 0xf129, 0xf03a, 0xf185, 0xf560, 0xf001, 0xf3fd, 0xf1fc, 0xf45d, 0xf59f, 0xf5a0, 0xf027, 0xf028, 0xf6a9, 0xf04b, 0xf04c, 0xf048, 0xf051, 0xf095, 0xf3dd, 0xf04d, 0xf2f2, 0xf024, 0xf252, 0xf569, 0xf201, 0xf06e, 0xf015, 0xf00c"
10+
"range": "0xf294, 0xf242, 0xf54b, 0xf21e, 0xf1e6, 0xf017, 0xf129, 0xf03a, 0xf185, 0xf560, 0xf001, 0xf3fd, 0xf1fc, 0xf45d, 0xf59f, 0xf5a0, 0xf027, 0xf028, 0xf6a9, 0xf04b, 0xf04c, 0xf048, 0xf051, 0xf095, 0xf3dd, 0xf04d, 0xf2f2, 0xf024, 0xf252, 0xf569, 0xf06e, 0xf015, 0xf00c"
1111
}
1212
],
1313
"bpp": 1,

src/displayapp/screens/ApplicationList.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,11 @@ namespace Pinetime {
5050
{Symbols::paintbrush, Apps::Paint},
5151
{Symbols::paddle, Apps::Paddle},
5252
{"2", Apps::Twos},
53-
{Symbols::chartLine, Apps::Motion},
5453
{Symbols::drum, Apps::Metronome},
5554
{Symbols::map, Apps::Navigation},
55+
{Symbols::none, Apps::None},
56+
57+
// {"M", Apps::Motion},
5658
}};
5759
ScreenList<nScreens> screens;
5860
};

src/displayapp/screens/Symbols.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ namespace Pinetime {
3434
static constexpr const char* hourGlass = "\xEF\x89\x92";
3535
static constexpr const char* lapsFlag = "\xEF\x80\xA4";
3636
static constexpr const char* drum = "\xEF\x95\xA9";
37-
static constexpr const char* chartLine = "\xEF\x88\x81";
3837
static constexpr const char* eye = "\xEF\x81\xAE";
3938
static constexpr const char* home = "\xEF\x80\x95";
4039
static constexpr const char* sleep = "\xEE\xBD\x84";

0 commit comments

Comments
 (0)