Skip to content

Commit

Permalink
Delete unused components.
Browse files Browse the repository at this point in the history
related to #48
  • Loading branch information
ivgraai committed Jun 12, 2020
1 parent 11250b8 commit 3e35adc
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 317 deletions.
8 changes: 0 additions & 8 deletions components/StyledText.tsx

This file was deleted.

12 changes: 0 additions & 12 deletions constants/Layout.tsx

This file was deleted.

58 changes: 0 additions & 58 deletions navigation/MainTabNavigator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,8 @@ import { Platform } from 'react-native';
import { createStackNavigator, createBottomTabNavigator } from 'react-navigation';

import TabBarIcon from '../components/TabBarIcon';
import HomeScreen from '../screens/HomeScreen';
import MainScreen from '../screens/MainScreen';
import AllScreen from '../screens/AllScreen';
import LinksScreen from '../screens/LinksScreen';
import SettingsScreen from '../screens/SettingsScreen';
import MapScreen from '../screens/MapScreen';
import UserScreen from '../screens/UserScreen';
import NearbyScreen from '../screens/NearbyScreen';
Expand All @@ -20,29 +17,6 @@ const config = Platform.select({
default: {},
});

const HomeStack = createStackNavigator(
{
Home: HomeScreen,
},
config
);

HomeStack.navigationOptions = {
tabBarLabel: 'Home',
tabBarIcon: ({ focused }) => (
<TabBarIcon
focused={focused}
name={
Platform.OS === 'ios'
? `ios-information-circle${focused ? '' : '-outline'}`
: 'md-information-circle'
}
/>
),
};

HomeStack.path = '';

const MainStack = createStackNavigator(
{
Main: { screen: MainScreen },
Expand Down Expand Up @@ -80,38 +54,6 @@ AllStack.navigationOptions = {

AllStack.path = '';

const LinksStack = createStackNavigator(
{
Links: LinksScreen,
},
config
);

LinksStack.navigationOptions = {
tabBarLabel: 'Links',
tabBarIcon: ({ focused }) => (
<TabBarIcon focused={focused} name={Platform.OS === 'ios' ? 'ios-link' : 'md-link'} />
),
};

LinksStack.path = '';

const SettingsStack = createStackNavigator(
{
Settings: SettingsScreen,
},
config
);

SettingsStack.navigationOptions = {
tabBarLabel: 'Settings',
tabBarIcon: ({ focused }) => (
<TabBarIcon focused={focused} name={Platform.OS === 'ios' ? 'ios-options' : 'md-options'} />
),
};

SettingsStack.path = '';

const NearbyStack = createStackNavigator(
{
Nearby: NearbyScreen,
Expand Down
198 changes: 0 additions & 198 deletions screens/HomeScreen.tsx

This file was deleted.

27 changes: 0 additions & 27 deletions screens/LinksScreen.tsx

This file was deleted.

14 changes: 0 additions & 14 deletions screens/SettingsScreen.tsx

This file was deleted.

0 comments on commit 3e35adc

Please sign in to comment.