What do you want to achieve?
Export my current project with a deleted screen and have all corresponding code removed from the generated code.
What have you tried so far?
Exporting, deleting and re-creating the screen with the exact same name
Details
Error:
src/ui/ui.c: In function 'ui_event_home_tbns':
src/ui/ui.c:450:27: error: 'ui_screen_settings' undeclared (first use in this function); did you mean 'ui_screen_pos'?
_ui_screen_change( &ui_screen_settings, LV_SCR_LOAD_ANIM_MOVE_BOTTOM, 200, 0, &ui_screen_settings_screen_init);
^~~~~~~~~~~~~~~~~~
ui_screen_pos
SLS declared screens
It looks like SLS mirrors screen config somewhere and does not clean the corresponding data / cache / structure when deleting a screen, thus exporting a ghost, deleted screen and pollutes code with missing screen declarations.
Others
- SquareLine Studio version: 1.3.4
- Operating system: MacSO Sonoma
- Target hardware: ESP32-S3