strings, not ints
This commit is contained in:
1 parent
04e17424d0
commit
4ab7e367b5
1 file changed
+1
-1
@@ -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