From 2a320e5a00b8c44527694d99f42918f15cada94a Mon Sep 17 00:00:00 2001 From: tapframe Date: Fri, 8 Aug 2025 18:57:16 +0530 Subject: [PATCH] small ui fix --- src/screens/MetadataScreen.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/screens/MetadataScreen.tsx b/src/screens/MetadataScreen.tsx index b991e3df..a69ef19b 100644 --- a/src/screens/MetadataScreen.tsx +++ b/src/screens/MetadataScreen.tsx @@ -124,14 +124,14 @@ const MetadataScreen: React.FC = () => { if (dominantColor && dominantColor !== '#1a1a1a' && dominantColor !== null && dominantColor !== currentTheme.colors.darkBackground) { // Smoothly transition to the new color backgroundColorShared.value = withTiming(dominantColor, { - duration: 800, // Longer duration for smoother transition - easing: Easing.bezier(0.25, 0.1, 0.25, 1), // Smooth easing curve + duration: 300, // Faster appearance + easing: Easing.out(Easing.cubic), // Smooth out easing }); } else { // Transition back to theme background if needed backgroundColorShared.value = withTiming(currentTheme.colors.darkBackground, { - duration: 800, - easing: Easing.bezier(0.25, 0.1, 0.25, 1), + duration: 300, + easing: Easing.out(Easing.cubic), }); } }, [dominantColor, currentTheme.colors.darkBackground]);