From f728959f1b97dd38520cd068bd75df18009a429e Mon Sep 17 00:00:00 2001 From: Uruk Date: Tue, 20 Jan 2026 19:07:15 +0100 Subject: [PATCH] fix: use full route path for casting-player navigation --- components/Chromecast.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/components/Chromecast.tsx b/components/Chromecast.tsx index 268556d9..855e7dd8 100644 --- a/components/Chromecast.tsx +++ b/components/Chromecast.tsx @@ -132,8 +132,12 @@ export function Chromecast({ currentItemId: mediaStatus?.currentItemId, castDevice: castDevice?.friendlyName, }); - if (mediaStatus?.currentItemId) router.push("/casting-player"); - else CastContext.showCastDialog(); + if (mediaStatus?.currentItemId) { + console.log("Navigating to: /(auth)/casting-player"); + router.push("/(auth)/casting-player"); + } else { + CastContext.showCastDialog(); + } }} {...props} >