From cb1578a7917339a9df9fa87773a739a0249501e2 Mon Sep 17 00:00:00 2001
From: Aylur <k.demeter@protonmail.com>
Date: Tue, 28 Jan 2025 12:18:57 +0100
Subject: fix #264: mpris exampe

---
 examples/gtk3/js/simple-bar/widget/Bar.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'examples/gtk3/js/simple-bar/widget/Bar.tsx')

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>
 }
-- 
cgit v1.2.3

