From 8481bb5609603645ca754aebce3f8d967661440f Mon Sep 17 00:00:00 2001 From: tapframe Date: Sat, 5 Jul 2025 20:16:35 +0530 Subject: [PATCH] Update styles in SearchScreen and SettingsScreen for improved layout; adjust easing function in AppNavigator for smoother animations. Modify .gitignore to include android directory. --- .gitignore | 2 +- src/navigation/AppNavigator.tsx | 2 +- src/screens/SearchScreen.tsx | 4 ++-- src/screens/SettingsScreen.tsx | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 19c6eca..c55810d 100644 --- a/.gitignore +++ b/.gitignore @@ -39,4 +39,4 @@ release_announcement.md ALPHA_BUILD_2_ANNOUNCEMENT.md CHANGELOG.md .env.local -F:\stremio-expo\android +android/ \ No newline at end of file diff --git a/src/navigation/AppNavigator.tsx b/src/navigation/AppNavigator.tsx index 79d245c..3f1bd52 100644 --- a/src/navigation/AppNavigator.tsx +++ b/src/navigation/AppNavigator.tsx @@ -540,7 +540,7 @@ const MainTabs = () => { animation: 'timing', config: { duration: 200, - easing: Easing.inOut(Easing.ease), + easing: Easing.bezier(0.25, 0.1, 0.25, 1.0), }, }, sceneStyleInterpolator: ({ current }) => ({ diff --git a/src/screens/SearchScreen.tsx b/src/screens/SearchScreen.tsx index c32d522..76c76f5 100644 --- a/src/screens/SearchScreen.tsx +++ b/src/screens/SearchScreen.tsx @@ -688,9 +688,9 @@ const styles = StyleSheet.create({ paddingTop: 0, }, header: { - paddingHorizontal: 20, + paddingHorizontal: 15, justifyContent: 'flex-end', - paddingBottom: 8, + paddingBottom: 0, backgroundColor: 'transparent', zIndex: 2, }, diff --git a/src/screens/SettingsScreen.tsx b/src/screens/SettingsScreen.tsx index dad0e32..cfdd7b9 100644 --- a/src/screens/SettingsScreen.tsx +++ b/src/screens/SettingsScreen.tsx @@ -520,7 +520,7 @@ const styles = StyleSheet.create({ flex: 1, }, header: { - paddingHorizontal: Math.max(16, width * 0.05), + paddingHorizontal: Math.max(1, width * 0.05), flexDirection: 'row', justifyContent: 'space-between', alignItems: 'flex-end',