summaryrefslogtreecommitdiff
path: root/examples/lua/simple-bar
diff options
context:
space:
mode:
Diffstat (limited to 'examples/lua/simple-bar')
-rw-r--r--examples/lua/simple-bar/widget/Bar.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/lua/simple-bar/widget/Bar.lua b/examples/lua/simple-bar/widget/Bar.lua
index bf70cd5..56cb060 100644
--- a/examples/lua/simple-bar/widget/Bar.lua
+++ b/examples/lua/simple-bar/widget/Bar.lua
@@ -72,7 +72,7 @@ local function Wifi()
end
local function AudioSlider()
- local speaker = Wp.get_default_wp().audio.default_speaker
+ local speaker = Wp.get_default().audio.default_speaker
return Widget.Box({
class_name = "AudioSlider",