diff options
Diffstat (limited to 'examples/gtk3/js/simple-bar/widget')
-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> } |