From 7ed39d3926d308b24d6f1a453133f03ac4746091 Mon Sep 17 00:00:00 2001 From: tapframe Date: Thu, 18 Sep 2025 22:57:40 +0530 Subject: [PATCH] small UI changes --- build-and-publish-app-release.sh | 6 +++--- src/navigation/AppNavigator.tsx | 8 ++++++-- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/build-and-publish-app-release.sh b/build-and-publish-app-release.sh index 5a49357e..18c3d1c4 100644 --- a/build-and-publish-app-release.sh +++ b/build-and-publish-app-release.sh @@ -91,9 +91,9 @@ echo "🔨 Starting build process..." rm -rf $outputFolder mkdir -p $outputFolder -# Run expo export with the specified output folder -echo "📦 Exporting Expo bundle..." -if ! npx expo export --output-dir $outputFolder; then +# Run expo export with the specified output folder (excluding web) +echo "📦 Exporting Expo bundle (Android & iOS only)..." +if ! npx expo export --output-dir $outputFolder --platform android --platform ios; then echo "❌ Error: Expo export failed" exit 1 fi diff --git a/src/navigation/AppNavigator.tsx b/src/navigation/AppNavigator.tsx index 2a81e2c2..f7957ffc 100644 --- a/src/navigation/AppNavigator.tsx +++ b/src/navigation/AppNavigator.tsx @@ -468,7 +468,11 @@ const MainTabs = () => { if (isHomeLoading) { return null; } - + + // Get current route name to determine if we should keep navigation fixed + const currentRoute = props.state.routes[props.state.index]?.name; + const shouldKeepFixed = currentRoute === 'Search' || currentRoute === 'Library'; + if (isTablet) { // Top floating, text-only pill nav for tablets return ( @@ -481,7 +485,7 @@ const MainTabs = () => { alignItems: 'center', backgroundColor: 'transparent', zIndex: 100, - }, { + }, shouldKeepFixed ? {} : { transform: [{ translateY }], opacity: fade, }]}>