nyx: use the now exported window custom action

This commit is contained in:
CTCaer
2025-04-30 08:38:58 +03:00
committed by Christoph Baumann
parent c202b4afb1
commit 9adca44fe4
2 changed files with 3 additions and 6 deletions

View File

@@ -81,8 +81,7 @@ static emummc_part_cfg_t emummc_part_cfg;
static lv_res_t _action_emummc_window_close(lv_obj_t *btn)
{
lv_win_close_action(btn);
close_btn = NULL;
nyx_win_close_action_custom(btn);
// Delete and relaunch main emuMMC window.
lv_obj_clean(emummc_parent_cont);