From 44d60692948730ce458eed2758f0046c5cfaf2dd Mon Sep 17 00:00:00 2001 From: c0mrade Date: Thu, 19 Mar 2026 19:35:05 +0300 Subject: [PATCH] fix: correct glass theme and haptic API usage in Subscriptions page --- src/pages/Subscriptions.tsx | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/src/pages/Subscriptions.tsx b/src/pages/Subscriptions.tsx index 8e57a51..38aa285 100644 --- a/src/pages/Subscriptions.tsx +++ b/src/pages/Subscriptions.tsx @@ -42,19 +42,20 @@ function SubscriptionCard({ subscription: SubscriptionListItem; onClick: () => void; }) { - const { theme } = useTheme(); - const glass = getGlassColors(theme); - const haptic = useHaptic(); + const { isDark } = useTheme(); + const g = getGlassColors(isDark); + const { impact } = useHaptic(); const handleClick = () => { - haptic?.(); + impact('light'); onClick(); }; return (