[BH-1618] Fix the wrong front light on the back action If the user changes the front light intensity in pre-wake up or main alarm and then going back the front light value and intensity are the same.
3 files changed, 5 insertions(+), 6 deletions(-) M harmony_changelog.md M products/BellHybrid/apps/application-bell-settings/models/alarm_settings/AlarmSettingsListItemProvider.cpp M products/BellHybrid/apps/application-bell-settings/models/alarm_settings/PrewakeUpListItemProvider.cpp
M harmony_changelog.md => harmony_changelog.md +1 -0
@@ 4,6 4,7 @@ ### Fixed * Fixed displayed device name when connected to Windows * Fixed the wrong front light on back action in alarms ### Added
M products/BellHybrid/apps/application-bell-settings/models/alarm_settings/AlarmSettingsListItemProvider.cpp => products/BellHybrid/apps/application-bell-settings/models/alarm_settings/AlarmSettingsListItemProvider.cpp +2 -3
@@ 97,10 97,9 @@ namespace app::bell_settings } }); brightness->onEnter = [this]() { auto brightness = settingsModel.getBrightness().getValue(); brightness->onEnter = [this, brightness]() { if (onFrontlightEnter) { onFrontlightEnter(brightness); onFrontlightEnter(brightness->value()); } };
M products/BellHybrid/apps/application-bell-settings/models/alarm_settings/PrewakeUpListItemProvider.cpp => products/BellHybrid/apps/application-bell-settings/models/alarm_settings/PrewakeUpListItemProvider.cpp +2 -3