small UI changes

This commit is contained in:
tapframe 2025-09-18 22:57:40 +05:30
parent 6273696b59
commit 7ed39d3926
2 changed files with 9 additions and 5 deletions

View file

@ -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

View file

@ -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,
}]}>