diff options
author | kotontrion <[email protected]> | 2024-09-18 12:55:40 +0200 |
---|---|---|
committer | kotontrion <[email protected]> | 2024-09-18 12:55:40 +0200 |
commit | de096e16da8a76c60b97ca0238a1cd1b545fa295 (patch) | |
tree | 08975b942b899bf4344e6258b03566b3db26d5d1 /examples/js/simple-bar/widget/Bar.tsx | |
parent | 18c0a31fa41f925e3324042bea940155ae6bf774 (diff) |
wireplumber: rename get_default_wp to get_default
Diffstat (limited to 'examples/js/simple-bar/widget/Bar.tsx')
-rw-r--r-- | examples/js/simple-bar/widget/Bar.tsx | 2 |
1 files changed, 1 insertions, 1 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")} /> |