Android NetworkManager (#3386)

This commit is contained in:
mwoz123
2017-10-21 22:27:09 +02:00
committed by Frans de Jonge
parent c573bdd610
commit ff3d8f3df7
2 changed files with 11 additions and 1 deletions

View File

@@ -82,7 +82,7 @@ end
function NetworkMgr:getWifiMenuTable()
return {
text = _("Wi-Fi connection"),
enabled_func = function() return Device:isKindle() or Device:isKobo() end,
enabled_func = function() return Device:isAndroid() or Device:isKindle() or Device:isKobo() end,
checked_func = function() return NetworkMgr:isOnline() end,
callback = function(menu)
local wifi_status = NetworkMgr:isOnline()