From 4e7f59c91e8bad17a80c4eaf053284bd2ba08617 Mon Sep 17 00:00:00 2001 From: Eve C Date: Thu, 5 Dec 2024 09:08:24 +0100 Subject: [PATCH] formatting with git-clang-format-14 --- src/components/settings/Settings.h | 1 - src/displayapp/screens/WatchFaceInfineat.cpp | 2 +- src/displayapp/screens/WatchFaceInfineat.h | 2 +- src/displayapp/screens/settings/SettingWatchFace.h | 2 -- 4 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/components/settings/Settings.h b/src/components/settings/Settings.h index ef43ff2ff9..5ac9e6d467 100644 --- a/src/components/settings/Settings.h +++ b/src/components/settings/Settings.h @@ -135,7 +135,6 @@ namespace Pinetime { return settings.watchFaceInfineat.showAlarmStatus; }; - void SetInfineatColorIndex(int index) { if (index != settings.watchFaceInfineat.colorIndex) { settings.watchFaceInfineat.colorIndex = index; diff --git a/src/displayapp/screens/WatchFaceInfineat.cpp b/src/displayapp/screens/WatchFaceInfineat.cpp index 561899da49..563648d400 100644 --- a/src/displayapp/screens/WatchFaceInfineat.cpp +++ b/src/displayapp/screens/WatchFaceInfineat.cpp @@ -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 diff --git a/src/displayapp/screens/WatchFaceInfineat.h b/src/displayapp/screens/WatchFaceInfineat.h index 9edb91b0ac..fc458c2b20 100644 --- a/src/displayapp/screens/WatchFaceInfineat.h +++ b/src/displayapp/screens/WatchFaceInfineat.h @@ -53,7 +53,7 @@ namespace Pinetime { Utility::DirtyValue isCharging {}; Utility::DirtyValue bleState {}; Utility::DirtyValue bleRadioEnabled {}; - Utility::DirtyValue isAlarmSet{}; + Utility::DirtyValue isAlarmSet {}; Utility::DirtyValue> currentDateTime {}; Utility::DirtyValue stepCount {}; Utility::DirtyValue notificationState {}; diff --git a/src/displayapp/screens/settings/SettingWatchFace.h b/src/displayapp/screens/settings/SettingWatchFace.h index 8d9a690680..9edc1f7ac8 100644 --- a/src/displayapp/screens/settings/SettingWatchFace.h +++ b/src/displayapp/screens/settings/SettingWatchFace.h @@ -12,8 +12,6 @@ #include "displayapp/screens/WatchFaceInfineat.h" #include "displayapp/screens/WatchFaceCasioStyleG7710.h" - - namespace Pinetime { namespace Applications {