Fixing regression cannot exit lesson.

This commit is contained in:
sergiotarxz 2024-07-07 04:35:01 +02:00
parent da7d07878c
commit 72998fa761

View File

@ -149,7 +149,7 @@ sub create_exit_lesson_back_button( $self, $on_exit ) {
if ( $response eq $exit_the_lesson_id ) {
$on_exit->();
require JapaChar::View::MainMenu;
JapaChar::View::MainMenu->new( app => $self )->run;
JapaChar::View::MainMenu->new( app => $self->app )->run;
return;
}
}