strings, not ints

This commit is contained in:
Martín Fernández
2019-02-07 15:57:44 +01:00
committed by Frans de Jonge
parent 04e17424d0
commit 4ab7e367b5

View File

@@ -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)