|
@@ -163,21 +163,21 @@ static NotificationAppSettings* alloc_settings() {
|
|
|
uint8_t value_index;
|
|
uint8_t value_index;
|
|
|
|
|
|
|
|
item = variable_item_list_add(
|
|
item = variable_item_list_add(
|
|
|
- app->variable_item_list, "LCD backlight", BACKLIGHT_COUNT, backlight_changed, app);
|
|
|
|
|
|
|
+ app->variable_item_list, "LCD Backlight", BACKLIGHT_COUNT, backlight_changed, app);
|
|
|
value_index = float_value_index(
|
|
value_index = float_value_index(
|
|
|
app->notification->settings.display_brightness, backlight_value, BACKLIGHT_COUNT);
|
|
app->notification->settings.display_brightness, backlight_value, BACKLIGHT_COUNT);
|
|
|
variable_item_set_current_value_index(item, value_index);
|
|
variable_item_set_current_value_index(item, value_index);
|
|
|
variable_item_set_current_value_text(item, backlight_text[value_index]);
|
|
variable_item_set_current_value_text(item, backlight_text[value_index]);
|
|
|
|
|
|
|
|
item = variable_item_list_add(
|
|
item = variable_item_list_add(
|
|
|
- app->variable_item_list, "Backlight time", DELAY_COUNT, screen_changed, app);
|
|
|
|
|
|
|
+ app->variable_item_list, "Backlight Time", DELAY_COUNT, screen_changed, app);
|
|
|
value_index = uint32_value_index(
|
|
value_index = uint32_value_index(
|
|
|
app->notification->settings.display_off_delay_ms, delay_value, DELAY_COUNT);
|
|
app->notification->settings.display_off_delay_ms, delay_value, DELAY_COUNT);
|
|
|
variable_item_set_current_value_index(item, value_index);
|
|
variable_item_set_current_value_index(item, value_index);
|
|
|
variable_item_set_current_value_text(item, delay_text[value_index]);
|
|
variable_item_set_current_value_text(item, delay_text[value_index]);
|
|
|
|
|
|
|
|
item = variable_item_list_add(
|
|
item = variable_item_list_add(
|
|
|
- app->variable_item_list, "LED brightness", BACKLIGHT_COUNT, led_changed, app);
|
|
|
|
|
|
|
+ app->variable_item_list, "LED Brightness", BACKLIGHT_COUNT, led_changed, app);
|
|
|
value_index = float_value_index(
|
|
value_index = float_value_index(
|
|
|
app->notification->settings.led_brightness, backlight_value, BACKLIGHT_COUNT);
|
|
app->notification->settings.led_brightness, backlight_value, BACKLIGHT_COUNT);
|
|
|
variable_item_set_current_value_index(item, value_index);
|
|
variable_item_set_current_value_index(item, value_index);
|