mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
strings, not ints
This commit is contained in:
committed by
Frans de Jonge
parent
04e17424d0
commit
4ab7e367b5
@@ -94,7 +94,7 @@ end
|
||||
|
||||
function Device:retrieveNetworkInfo()
|
||||
local ssid, ip, gw = android.getNetworkInfo()
|
||||
if ip == 0 or gw == 0 then
|
||||
if ip == "0" or gw == "0" then
|
||||
return _("Not connected")
|
||||
else
|
||||
return T(_("Connected to %1\n IP address: %2\n gateway: %3"), ssid, ip, gw)
|
||||
|
||||
Reference in New Issue
Block a user