From 34f49aa4505b81883a6227adcf444449b6b04ca4 Mon Sep 17 00:00:00 2001
From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>
Date: Sun, 2 Mar 2025 22:53:37 +1100
Subject: media: fix null error

---
 src/modules/popdowns/media.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/modules/popdowns/media.tsx')

diff --git a/src/modules/popdowns/media.tsx b/src/modules/popdowns/media.tsx
index dc2b67e..8757cd2 100644
--- a/src/modules/popdowns/media.tsx
+++ b/src/modules/popdowns/media.tsx
@@ -24,7 +24,7 @@ const lengthStr = (length: number) =>
 
 const Player = ({ player }: { player: AstalMpris.Player }) => {
     const background = (
-        <box className="background" css={bind(player, "coverArt").as(u => u && `background-image: url("${u}");`)} />
+        <box className="background" css={bind(player, "coverArt").as(u => `background-image: url("${u}");`)} />
     );
     return (
         <overlay
-- 
cgit v1.2.3-freya

