Skip to content

Commit

Permalink
fix: experiment with always enable preventFouc
Browse files Browse the repository at this point in the history
  • Loading branch information
RichardLindhout committed Jan 4, 2025
1 parent be695c6 commit 5df4183
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/BottomTabsStack.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import TabBar from './navigation/TabBar';
import TabBarItem from './navigation/TabBarItem';
import { NavigationHandler } from 'navigation-react';
import NavigationStack from './navigation/NavigationStack';
import { useBottomTabsStateNavigator } from './navigation/useBottomTabsStateNavigator';
import { useBottomTabsStateNavigator } from './navigation/useBottomTacbsStateNavigator';
import RidgeNavigationContext from './contexts/RidgeNavigationContext';
import OptimizedContext, {
OptimizedContextProvider,
Expand Down Expand Up @@ -52,6 +52,7 @@ export default function BottomTabsStack() {
selectedTintColor={bottomTheme.selectedTextColor}
activeIndicatorColor={bottomTheme.activeIndicatorColor}
scrollsToTop={bottomTheme.scrollsToTop}
preventFouc={true}
>
{root.children.map((tab, index) => {
return (
Expand Down

0 comments on commit 5df4183

Please sign in to comment.