Add info about widgets:request_updates() second parameter
This commit is contained in:
@@ -6,6 +6,10 @@ app_pkg = "com.weather.Weather"
|
||||
--app_pkg = "com.android.chrome"
|
||||
--app_pkg = "com.whatsapp"
|
||||
|
||||
-- Widget size (string from "1x1" to "4x4")
|
||||
-- In most cases you can use nil
|
||||
widget_size = nil
|
||||
|
||||
-- Globals
|
||||
labels = {}
|
||||
providers = {}
|
||||
@@ -35,7 +39,7 @@ end
|
||||
function on_click(idx)
|
||||
if w_content == "" then
|
||||
wid = widgets:setup(providers[idx])
|
||||
widgets:request_updates(wid)
|
||||
widgets:request_updates(wid, widget_size)
|
||||
else
|
||||
system:copy_to_clipboard(w_content)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user