New poll delay property id

This commit is contained in:
Joseph Abbey
2024-08-28 08:52:41 +01:00
committed by GitHub
parent b476da6667
commit 47a8a6e4e6
3 changed files with 3 additions and 3 deletions

View File

@ -56,7 +56,7 @@
this delayfor an "always open" mode of operation, which then drains the this delayfor an "always open" mode of operation, which then drains the
watch battery from the additional API access activity. watch battery from the additional API access activity.
--> -->
<property id="poll_delay" type="number">0</property> <property id="poll_delay_combined" type="number">5</property>
<!-- <!--
After this time (in seconds), a confirmation dialog for an action is After this time (in seconds), a confirmation dialog for an action is

View File

@ -66,7 +66,7 @@
</setting> </setting>
<setting <setting
propertyKey="@Properties.poll_delay" propertyKey="@Properties.poll_delay_combined"
title="@Strings.SettingsPollDelay" title="@Strings.SettingsPollDelay"
> >
<settingConfig type="numeric" min="0" /> <settingConfig type="numeric" min="0" />

View File

@ -57,7 +57,7 @@ class Settings {
mClearCache = Properties.getValue("clear_cache"); mClearCache = Properties.getValue("clear_cache");
mVibrate = Properties.getValue("enable_vibration"); mVibrate = Properties.getValue("enable_vibration");
mAppTimeout = Properties.getValue("app_timeout"); mAppTimeout = Properties.getValue("app_timeout");
mPollDelay = Properties.getValue("poll_delay"); mPollDelay = Properties.getValue("poll_delay_combined");
mConfirmTimeout = Properties.getValue("confirm_timeout"); mConfirmTimeout = Properties.getValue("confirm_timeout");
mMenuAlignment = Properties.getValue("menu_alignment"); mMenuAlignment = Properties.getValue("menu_alignment");
mIsSensorsLevelEnabled = Properties.getValue("enable_battery_level"); mIsSensorsLevelEnabled = Properties.getValue("enable_battery_level");