Merge commit 'de172e9a39bc17bac609afba588e9e9fc182f836' into feature/widget-config

This commit is contained in:
harukin-expo-dev-env
2024-04-01 12:41:53 +00:00
5 changed files with 226 additions and 4 deletions

View File

@@ -20,6 +20,7 @@ import { Switch } from "react-native-elements";
import AutoHeightImage from "react-native-auto-height-image";
import { SettingTopPage } from "./SettingTopPage";
import { LayoutSettings } from "./LayoutSettings";
import { FavoriteSettings } from "./FavoriteSettings";
import { WidgetSettings } from "./WidgetSettings";
const Stack = createStackNavigator();
@@ -136,6 +137,18 @@ export default function Setting(props) {
>
{(props) => <WidgetSettings {...props} navigate={navigate} />}
</Stack.Screen>
<Stack.Screen
name="FavoriteSettings"
options={{
gestureEnabled: true,
...TransitionPresets.SlideFromRightIOS,
cardOverlayEnabled: true,
headerTransparent: true,
headerShown: false,
}}
>
{(props) => <FavoriteSettings {...props} navigate={navigate} />}
</Stack.Screen>
</Stack.Navigator>
);
}