Removed unnecessary call to bt_notific
`notification` page is loaded right after that.
This commit is contained in:
@@ -242,7 +242,6 @@ api:
|
|||||||
ESP_LOGV("service.notification_show", "Starting");
|
ESP_LOGV("service.notification_show", "Starting");
|
||||||
|
|
||||||
id(disp1).send_command_printf("is_notification=1");
|
id(disp1).send_command_printf("is_notification=1");
|
||||||
if (id(current_page).state.c_str() == "home") id(disp1).show_component("bt_notific");
|
|
||||||
id(disp1).goto_page("notification");
|
id(disp1).goto_page("notification");
|
||||||
id(disp1).set_component_text_printf("notification.notifi_label", "%s", label.c_str());
|
id(disp1).set_component_text_printf("notification.notifi_label", "%s", label.c_str());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user