|
|
@ -291,6 +291,11 @@ function FileManagerMenu:setUpdateItemTable()
|
|
|
|
self:exitOrRestart(function() UIManager:restartKOReader() end)
|
|
|
|
self:exitOrRestart(function() UIManager:restartKOReader() end)
|
|
|
|
end,
|
|
|
|
end,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if Device:isAndroid() then
|
|
|
|
|
|
|
|
self.menu_items.exit_menu = self.menu_items.exit
|
|
|
|
|
|
|
|
self.menu_items.exit = nil
|
|
|
|
|
|
|
|
self.menu_items.restart_koreader = nil
|
|
|
|
|
|
|
|
end
|
|
|
|
if not Device:isTouchDevice() then
|
|
|
|
if not Device:isTouchDevice() then
|
|
|
|
--add a shortcut on non touch-device
|
|
|
|
--add a shortcut on non touch-device
|
|
|
|
--because this menu is not accessible otherwise
|
|
|
|
--because this menu is not accessible otherwise
|
|
|
|