Skip to content

Commit

Permalink
feat: remove initial introduction screens
Browse files Browse the repository at this point in the history
Signed-off-by: Manuel Ruck <git@manuelruck.de>
  • Loading branch information
Manuel Ruck committed Mar 23, 2024
1 parent ba1a5d3 commit fd0be60
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/routes/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import React from 'react';
import { createNativeStackNavigator } from '@react-navigation/native-stack';
import Introduction from '../screens/Introduction';
import { useInitialState } from '../api/state/initialState';
import { getVersion } from 'react-native-device-info';
import { SidebarNavigation } from './Sidebar';
import { SyncVotesScreen } from '../screens/SyncVotes';
import { lightTheme } from '@democracy-deutschland/ui';
Expand Down Expand Up @@ -65,7 +64,7 @@ export const Routes: React.FC = () => {

return (
<Stack.Navigator
initialRouteName={lastStartWithVersion !== getVersion() ? 'Introduction' : 'Sidebar'}
initialRouteName="Sidebar"
screenOptions={{
headerShown: false,
headerStyle: {
Expand Down

0 comments on commit fd0be60

Please sign in to comment.