Reformatted the code to comply with clang-format.

This commit is contained in:
JustScott 2024-01-14 10:15:13 -06:00
parent 780e68f456
commit 0535e93848
2 changed files with 59 additions and 60 deletions

View File

@ -54,8 +54,7 @@ bool Calendar::OnTouchEvent(Pinetime::Applications::TouchEvents event) {
if (current.month == 12) {
current.month = 1;
current.year++;
}
else{
} else {
current.month++;
}
@ -66,8 +65,7 @@ bool Calendar::OnTouchEvent(Pinetime::Applications::TouchEvents event) {
if (current.month == 1) {
current.month = 12;
current.year--;
}
else{
} else {
current.month--;
}

View File

@ -37,6 +37,7 @@ namespace Pinetime {
public:
Calendar(Controllers::DateTime& dateTimeController);
~Calendar() override;
private:
bool OnTouchEvent(TouchEvents event);
Controllers::DateTime& dateTimeController;