From fd4a99678cd222941cc66de5d7fcd5f7615f375d Mon Sep 17 00:00:00 2001 From: Mohamed Bassem Date: Sun, 24 Nov 2024 16:03:45 +0000 Subject: deps(mobile): Upgrade to Expo 52 (#692) * fix(mobile): Sharing bookmark modal * WIP: Upgrade to 52 * post ugprade fixes * more fixes * fix padding in tabbar --- apps/mobile/components/navigation/tabs.tsx | 5 ++++- apps/mobile/components/ui/Toast.tsx | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'apps/mobile/components') diff --git a/apps/mobile/components/navigation/tabs.tsx b/apps/mobile/components/navigation/tabs.tsx index 976731bc..83b1c6a7 100644 --- a/apps/mobile/components/navigation/tabs.tsx +++ b/apps/mobile/components/navigation/tabs.tsx @@ -5,15 +5,18 @@ import { cssInterop } from "nativewind"; function StyledTabsImpl({ tabBarStyle, headerStyle, + sceneStyle, ...props }: React.ComponentProps & { tabBarStyle?: ViewStyle; headerStyle?: ViewStyle; + sceneStyle?: ViewStyle; }) { props.screenOptions = { ...props.screenOptions, tabBarStyle, headerStyle, + sceneStyle, }; return ; } @@ -21,5 +24,5 @@ function StyledTabsImpl({ export const StyledTabs = cssInterop(StyledTabsImpl, { tabBarClassName: "tabBarStyle", headerClassName: "headerStyle", - sceneContainerClassName: "sceneContainerStyle", + sceneClassName: "sceneStyle", }); diff --git a/apps/mobile/components/ui/Toast.tsx b/apps/mobile/components/ui/Toast.tsx index 9aa25e5c..7bd2e64d 100644 --- a/apps/mobile/components/ui/Toast.tsx +++ b/apps/mobile/components/ui/Toast.tsx @@ -52,7 +52,7 @@ function Toast({