1. Small fixes to main widget. 2. Covid widget removed as defunct.
This commit is contained in:
@@ -10,6 +10,8 @@ function on_alarm()
|
||||
http:get("https://api.ipify.org")
|
||||
end
|
||||
|
||||
function on_network_result(result)
|
||||
ui:show_text(result)
|
||||
function on_network_result(result, code)
|
||||
if code >= 200 and code < 299 then
|
||||
ui:show_text(result)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user