Skip to content

Commit

Permalink
formatting with git-clang-format-14
Browse files Browse the repository at this point in the history
  • Loading branch information
Eve1374 committed Dec 5, 2024
1 parent c23887d commit 4e7f59c
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/components/settings/Settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ namespace Pinetime {
return settings.watchFaceInfineat.showAlarmStatus;
};


void SetInfineatColorIndex(int index) {
if (index != settings.watchFaceInfineat.colorIndex) {
settings.watchFaceInfineat.colorIndex = index;
Expand Down
2 changes: 1 addition & 1 deletion src/displayapp/screens/WatchFaceInfineat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ void WatchFaceInfineat::Refresh() {
}

if (settingsController.GetInfineatShowAlarmStatus()) {
isAlarmSet = alarmController.IsEnabled()==true;
isAlarmSet = alarmController.IsEnabled() == true;
// sets the icon as bell or barred bell
lv_label_set_text_static(alarmIcon, AlarmIcon::GetIcon(isAlarmSet.Get()));
//displays the time of the alarm or nothing if the alarm is not set
Expand Down
2 changes: 1 addition & 1 deletion src/displayapp/screens/WatchFaceInfineat.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ namespace Pinetime {
Utility::DirtyValue<bool> isCharging {};
Utility::DirtyValue<bool> bleState {};
Utility::DirtyValue<bool> bleRadioEnabled {};
Utility::DirtyValue<bool> isAlarmSet{};
Utility::DirtyValue<bool> isAlarmSet {};
Utility::DirtyValue<std::chrono::time_point<std::chrono::system_clock, std::chrono::minutes>> currentDateTime {};
Utility::DirtyValue<uint32_t> stepCount {};
Utility::DirtyValue<bool> notificationState {};
Expand Down
2 changes: 0 additions & 2 deletions src/displayapp/screens/settings/SettingWatchFace.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
#include "displayapp/screens/WatchFaceInfineat.h"
#include "displayapp/screens/WatchFaceCasioStyleG7710.h"



namespace Pinetime {

namespace Applications {
Expand Down

0 comments on commit 4e7f59c

Please sign in to comment.