From b3cca43769c7407e762ebe7a67fe73caaf2462ee Mon Sep 17 00:00:00 2001 From: DocNR Date: Thu, 13 Feb 2025 13:17:29 -0500 Subject: [PATCH] fixed swipe on material top tabs --- app/(tabs)/library/index.tsx | 6 ++++-- package-lock.json | 2 +- package.json | 8 +++++--- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/app/(tabs)/library/index.tsx b/app/(tabs)/library/index.tsx index ea5aa52..a24f618 100644 --- a/app/(tabs)/library/index.tsx +++ b/app/(tabs)/library/index.tsx @@ -49,8 +49,10 @@ export default function LibraryScreen() { tabBarIndicatorStyle: { backgroundColor: colors.text, }, - tabBarStyle: { backgroundColor: colors.card } - }} + tabBarStyle: { backgroundColor: colors.card }, + swipeEnabled: true, // Enable swipe navigation + animationEnabled: true, // Enable animations when swiping + lazy: true }} >