Skip to content

Commit

Permalink
Rebase upstream develop
Browse files Browse the repository at this point in the history
  • Loading branch information
dmlls committed Jan 2, 2022
1 parent 2b74c13 commit efee8ec
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 12 deletions.
1 change: 0 additions & 1 deletion src/displayapp/Apps.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ namespace Pinetime {
SettingDisplay,
SettingWakeUp,
SettingSteps,
SettingPineTimeStyle,
SettingWatchFaceInfineat,
SettingSetDate,
SettingSetTime,
Expand Down
5 changes: 0 additions & 5 deletions src/displayapp/DisplayApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
#include "displayapp/screens/settings/SettingWakeUp.h"
#include "displayapp/screens/settings/SettingDisplay.h"
#include "displayapp/screens/settings/SettingSteps.h"
#include "displayapp/screens/settings/SettingPineTimeStyle.h"
#include "displayapp/screens/settings/SettingWatchFaceInfineat.h"
#include "displayapp/screens/settings/SettingSetDate.h"
#include "displayapp/screens/settings/SettingSetTime.h"
Expand Down Expand Up @@ -417,10 +416,6 @@ void DisplayApp::LoadApp(Apps app, DisplayApp::FullRefreshDirections direction)
currentScreen = std::make_unique<Screens::SettingSetTime>(this, dateTimeController);
ReturnApp(Apps::Settings, FullRefreshDirections::Down, TouchEvents::SwipeDown);
break;
case Apps::SettingPineTimeStyle:
currentScreen = std::make_unique<Screens::SettingPineTimeStyle>(this, settingsController);
ReturnApp(Apps::Settings, FullRefreshDirections::Down, TouchEvents::SwipeDown);
break;
case Apps::SettingWatchFaceInfineat:
currentScreen = std::make_unique<Screens::SettingWatchFaceInfineat>(this, settingsController);
ReturnApp(Apps::Settings, FullRefreshDirections::Down, TouchEvents::SwipeDown);
Expand Down
7 changes: 1 addition & 6 deletions src/displayapp/screens/settings/Settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,7 @@ std::unique_ptr<Screen> Settings::CreateScreen3() {
{Symbols::none, "None", Apps::None}
}};

if (settingsController.GetClockFace() == 2) { // PineTimeSylte
apps.insert(
apps.begin(),
{Symbols::paintbrush, "PTS Colors", Apps::SettingPineTimeStyle}
);
} else if (settingsController.GetClockFace() == 3) { // WatchFaceInfineat
if (settingsController.GetClockFace() == 3) { // WatchFaceInfineat
apps.insert(
apps.begin(),
{Symbols::paintbrush, "Side Cover", Apps::SettingWatchFaceInfineat}
Expand Down

0 comments on commit efee8ec

Please sign in to comment.