back: clear controller before Activity.back to avoid recursion

This commit is contained in:
Hermes committed 2026-08-08 19:03:24 +02:00
1 parent ea70698d5d
commit 4e0446bf4e
1 file changed
+4
+4
View File
@@ -222,6 +222,10 @@
Lampa.Controller.collectionSet($('.mymovies-detail .detail-actions'));
Lampa.Controller.collectionFocus(btns[0], $('.mymovies-detail .detail-actions'));
},
back: function () {
Lampa.Controller.clear('mymovies_detail');
Lampa.Activity.back();
},
right: function () { Navigator.move('right'); },
left: function () { Navigator.move('left'); },
enter: function () {