Fix naming

This commit is contained in:
Joseph Abbey
2024-01-12 18:01:00 +00:00
parent cd416bc81b
commit 32ce1d2a74
2 changed files with 19 additions and 19 deletions

View File

@ -83,7 +83,7 @@ class Settings {
if ((System has :ServiceDelegate) and (Background.getTemporalEventRegisteredTime() != null)) {
Background.deleteTemporalEvent();
}
removeWebhookId();
unsetWebhookId();
}
}
if (Globals.scDebug) {
@ -109,7 +109,7 @@ class Settings {
Properties.setValue("webhook_id", mWebhookId);
}
static function removeWebhookId() {
static function unsetWebhookId() {
mWebhookId = "";
Properties.setValue("webhook_id", mWebhookId);
}
@ -155,7 +155,7 @@ class Settings {
return mIsWidgetStartNoTap;
}
static function disableBatteryLevel() {
static function unsetIsBatteryLevelEnabled() {
mIsBatteryLevelEnabled = false;
Properties.setValue("enable_battery_level", mIsBatteryLevelEnabled);
if ((System has :ServiceDelegate) and (Background.getTemporalEventRegisteredTime() != null)) {