[FL-2848] Universal Remote fix (#1770)

* Reset BruteForce on exit from Universal Remote
* Reset current button in ButtonPanel
This commit is contained in:
Georgii Surkov
2022-09-22 19:13:00 +03:00
committed by GitHub
parent e70121e20f
commit 17d01f5c29
4 changed files with 8 additions and 0 deletions

View File

@@ -87,5 +87,6 @@ void infrared_scene_universal_common_on_exit(void* context) {
Infrared* infrared = context;
ButtonPanel* button_panel = infrared->button_panel;
view_stack_remove_view(infrared->view_stack, button_panel_get_view(button_panel));
infrared_brute_force_reset(infrared->brute_force);
button_panel_reset(button_panel);
}