Refresh pages when new settings comes

This commit is contained in:
Edward Firmo
2023-12-31 22:00:16 +01:00
parent d32bf23ebe
commit 35b0c23be8

View File

@@ -1864,10 +1864,11 @@ script:
id(is_blueprint_updated) = true;
disp1->send_command_printf("api=1");
// Update home page
ESP_LOGV(TAG, "Update home page");
page_home->execute();
if (current_page->state != "boot") {
// Update current page
ESP_LOGV(TAG, "Update current page");
page_changed->execute(current_page->state.c_str());
}
ESP_LOGV(TAG, "Current page: %s", current_page->state.c_str());
- if: