Exit menu: restore long-press to exit directly (#10000)
Unwillingly removed by 8ef426d79.
This commit is contained in:
1 parent
d5a4ac14e1
commit
abbcd4ddbe
1 file changed
+3
@@ -7,6 +7,9 @@ local exit_settings = {}
|
||||
|
||||
exit_settings.exit_menu = {
|
||||
text = _("Exit"),
|
||||
hold_callback = function()
|
||||
UIManager:broadcastEvent(Event:new("Exit"))
|
||||
end,
|
||||
-- submenu entries will be appended by xyz_menu_order_lua
|
||||
}
|
||||
exit_settings.exit = {
|
||||
|
||||
Reference in new issue
Block a user