diff options
author | Aylur <[email protected]> | 2025-01-28 12:18:57 +0100 |
---|---|---|
committer | Aylur <[email protected]> | 2025-01-28 12:18:57 +0100 |
commit | cb1578a7917339a9df9fa87773a739a0249501e2 (patch) | |
tree | 0877d464756e4748c643acc0bae3db20580ac6d3 /examples/gtk3/js/simple-bar | |
parent | a23ef6a6c0bd9da6c68f8bc5e6d8e1efd9210e09 (diff) |
fix #264: mpris exampe
Diffstat (limited to 'examples/gtk3/js/simple-bar')
-rw-r--r-- | examples/gtk3/js/simple-bar/widget/Bar.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/gtk3/js/simple-bar/widget/Bar.tsx b/examples/gtk3/js/simple-bar/widget/Bar.tsx index 6592f6a..8310495 100644 --- a/examples/gtk3/js/simple-bar/widget/Bar.tsx +++ b/examples/gtk3/js/simple-bar/widget/Bar.tsx @@ -79,13 +79,13 @@ function Media() { )} /> <label - label={bind(ps[0], "title").as(() => + label={bind(ps[0], "metadata").as(() => `${ps[0].title} - ${ps[0].artist}` )} /> </box> ) : ( - "Nothing Playing" + <label label="Nothing Playing" /> ))} </box> } |