diff options
author | kotontrion <[email protected]> | 2024-09-18 20:31:22 +0200 |
---|---|---|
committer | kotontrion <[email protected]> | 2024-09-18 20:31:22 +0200 |
commit | 36adb5a19bf0414c7bd3703f4c6244c44fb8e68e (patch) | |
tree | 239fd47001dce18dcb7de58c3bafbe407bdf5f19 /examples | |
parent | c37823ae42b38bed8aca06f78f3a4cb44eb41d5c (diff) | |
parent | 10b9cde328947d038029f2496f43da75138abb3d (diff) |
Merge branch 'fix/wireplumber-11'
Diffstat (limited to 'examples')
-rw-r--r-- | examples/js/simple-bar/widget/Bar.tsx | 2 | ||||
-rw-r--r-- | examples/lua/simple-bar/widget/Bar.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/js/simple-bar/widget/Bar.tsx b/examples/js/simple-bar/widget/Bar.tsx index 492ab1d..19e1133 100644 --- a/examples/js/simple-bar/widget/Bar.tsx +++ b/examples/js/simple-bar/widget/Bar.tsx @@ -39,7 +39,7 @@ function Wifi() { } function AudioSlider() { - const speaker = Wp.get_default_wp()?.audio.defaultSpeaker! + const speaker = Wp.get_default()?.audio.defaultSpeaker! return <box className="AudioSlider" css="min-width: 140px"> <icon icon={bind(speaker, "volumeIcon")} /> 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", |