mirror of
https://github.com/house-of-abbey/GarminHomeAssistant.git
synced 2025-09-13 04:31:32 +00:00
Rename variable
This commit is contained in:
@@ -119,7 +119,7 @@ class Settings {
|
||||
} else {
|
||||
// Explicitly disable the background event which persists when the application closes.
|
||||
// If !mHasService disable the Settings option as user feedback
|
||||
unsetIsSensorsLevelEnabled();
|
||||
unsetIsSensorsEnabled();
|
||||
unsetWebhookId();
|
||||
}
|
||||
}
|
||||
@@ -280,13 +280,13 @@ class Settings {
|
||||
//!
|
||||
//! @return Boolean for whether logging of the watch sensors is enabled.
|
||||
//
|
||||
static function isSensorsLevelEnabled() as Lang.Boolean {
|
||||
static function IsSensorsEnabled() as Lang.Boolean {
|
||||
return mIsSensorsEnabled;
|
||||
}
|
||||
|
||||
//! Disable logging of the watch's sensors.
|
||||
//
|
||||
static function unsetIsSensorsLevelEnabled() {
|
||||
static function unsetIsSensorsEnabled() {
|
||||
mIsSensorsEnabled = false;
|
||||
Properties.setValue("enable_battery_level", mIsSensorsEnabled);
|
||||
if (mHasService and (Background.getTemporalEventRegisteredTime() != null)) {
|
||||
|
Reference in New Issue
Block a user