From ae0724c28c33cf99886aae7df1997ed5a23f0684 Mon Sep 17 00:00:00 2001 From: Eli Weiss Date: Tue, 11 Jan 2022 16:25:26 -0500 Subject: [PATCH] Corrected capitalization --- src/displayapp/screens/settings/SettingSetTime.cpp | 8 ++++---- src/displayapp/screens/settings/SettingSetTime.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/displayapp/screens/settings/SettingSetTime.cpp b/src/displayapp/screens/settings/SettingSetTime.cpp index fd0a8a3a..037611f3 100644 --- a/src/displayapp/screens/settings/SettingSetTime.cpp +++ b/src/displayapp/screens/settings/SettingSetTime.cpp @@ -114,14 +114,14 @@ SettingSetTime::SettingSetTime(Pinetime::Applications::DisplayApp* app, lv_obj_set_style_local_value_str(btnSetTime, LV_BTN_PART_MAIN, LV_STATE_DEFAULT, "Set"); lv_obj_set_event_cb(btnSetTime, event_handler); - setHourLabels(); + SetHourLabels(); } SettingSetTime::~SettingSetTime() { lv_obj_clean(lv_scr_act()); } -void SettingSetTime::setHourLabels() { +void SettingSetTime::SetHourLabels() { if (settingsController.GetClockType() == Controllers::Settings::ClockType::H12) { switch (hoursValue) { case 0: @@ -155,14 +155,14 @@ void SettingSetTime::HandleButtonPress(lv_obj_t* object, lv_event_t event) { if (hoursValue > 23) { hoursValue = 0; } - setHourLabels(); + SetHourLabels(); lv_btn_set_state(btnSetTime, LV_BTN_STATE_RELEASED); } else if (object == btnHoursMinus) { hoursValue--; if (hoursValue < 0) { hoursValue = 23; } - setHourLabels(); + SetHourLabels(); lv_btn_set_state(btnSetTime, LV_BTN_STATE_RELEASED); } else if (object == btnMinutesPlus) { minutesValue++; diff --git a/src/displayapp/screens/settings/SettingSetTime.h b/src/displayapp/screens/settings/SettingSetTime.h index 28515686..d02c332e 100644 --- a/src/displayapp/screens/settings/SettingSetTime.h +++ b/src/displayapp/screens/settings/SettingSetTime.h @@ -22,7 +22,7 @@ namespace Pinetime { Controllers::DateTime& dateTimeController; Controllers::Settings& settingsController; - void setHourLabels(); + void SetHourLabels(); int hoursValue; int minutesValue;