[FL-3765][FL-3737] Desktop: ensure that animation is unloaded before app start (#3569)

* Desktop: ensure that animation is unloaded before app start
* Desktop: unload animation only if it is loaded
This commit is contained in:
Sergei Gavrilov
2024-04-04 22:42:58 +10:00
committed by GitHub
parent 5793d5271c
commit 5431257470
2 changed files with 9 additions and 1 deletions

View File

@@ -80,6 +80,8 @@ struct Desktop {
bool time_format_12 : 1; // 1 - 12 hour, 0 - 24H
bool in_transition : 1;
FuriSemaphore* animation_semaphore;
};
Desktop* desktop_alloc(void);