Exit menu: restore long-press to exit directly (#10000)

Unwillingly removed by 8ef426d79.
pull/9637/merge
poire-z 1 year ago committed by GitHub
parent d5a4ac14e1
commit abbcd4ddbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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 = {

Loading…
Cancel
Save