Skip to content

Commit

Permalink
Update main.gui_script
Browse files Browse the repository at this point in the history
  • Loading branch information
britzl committed Oct 8, 2020
1 parent bb964ca commit 6dee6cc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main/main.gui_script
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ local function update_info()
adinfo.get(function(self, info)
pprint(info)
local ad_ident = info.ad_ident
if ad_ident == "" then
ad_ident = "NOT AVAILABLE"
end
local enabled = info.ad_tracking_enabled
local text = ("ad_ident = %s\nad_tracking_enabled = %s"):format(ad_ident, tostring(enabled))
gui.set_text(gui.get_node("info"), text)
Expand Down

0 comments on commit 6dee6cc

Please sign in to comment.