Skip to content

Commit 9e26b23

Browse files
committed
use the custom TabNavigator in all places
1 parent 5a5b212 commit 9e26b23

File tree

6 files changed

+6
-24
lines changed

6 files changed

+6
-24
lines changed

source/views/calendar/index.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66

77
import React from 'react'
8-
import {TabNavigator} from 'react-navigation'
8+
import {TabNavigator} from '../components/tabbed-view'
99
import {TabBarIcon} from '../components/tabbar-icon'
1010
import * as c from '../components/colors'
1111

@@ -53,8 +53,5 @@ export default TabNavigator(
5353
navigationOptions: {
5454
title: 'Calendar',
5555
},
56-
tabBarOptions: {
57-
activeTintColor: c.mandarin,
58-
},
5956
},
6057
)

source/views/menus/index.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66

77
import React from 'react'
8-
import {TabNavigator} from 'react-navigation'
8+
import {TabNavigator} from '../components/tabbed-view'
99
import {TabBarIcon} from '../components/tabbar-icon'
1010
import * as c from '../components/colors'
1111

@@ -66,8 +66,5 @@ export const MenusView = TabNavigator(
6666
navigationOptions: {
6767
title: 'Menus',
6868
},
69-
tabBarOptions: {
70-
activeTintColor: c.mandarin,
71-
},
7269
},
7370
)

source/views/news/index.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*/
77

88
import React from 'react'
9-
import {TabNavigator} from 'react-navigation'
9+
import {TabNavigator} from '../components/tabbed-view'
1010
import {TabBarIcon} from '../components/tabbar-icon'
1111
import * as c from '../components/colors'
1212

@@ -88,8 +88,5 @@ export default TabNavigator(
8888
navigationOptions: {
8989
title: 'News',
9090
},
91-
tabBarOptions: {
92-
activeTintColor: c.mandarin,
93-
},
9491
},
9592
)

source/views/sis/index.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* iOS SIS page
55
*/
66

7-
import {TabNavigator} from 'react-navigation'
7+
import {TabNavigator} from '../components/tabbed-view'
88
import * as c from '../components/colors'
99

1010
import BalancesView from './balances'
@@ -23,8 +23,5 @@ export default TabNavigator(
2323
navigationOptions: {
2424
title: 'SIS',
2525
},
26-
tabBarOptions: {
27-
activeTintColor: c.mandarin,
28-
},
2926
},
3027
)

source/views/streaming/index.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Media page
55
*/
66

7-
import {TabNavigator} from 'react-navigation'
7+
import {TabNavigator} from '../components/tabbed-view'
88
import * as c from '../components/colors'
99

1010
import KSTOView from './radio'
@@ -21,8 +21,5 @@ export default TabNavigator(
2121
navigationOptions: {
2222
title: 'Streaming Media',
2323
},
24-
tabBarOptions: {
25-
activeTintColor: c.mandarin,
26-
},
2724
},
2825
)

source/views/transportation/index.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
import React from 'react'
88

9-
import {TabNavigator} from 'react-navigation'
9+
import {TabNavigator} from '../components/tabbed-view'
1010
import {TabBarIcon} from '../components/tabbar-icon'
1111
import * as c from '../components/colors'
1212

@@ -48,8 +48,5 @@ export default TabNavigator(
4848
navigationOptions: {
4949
title: 'Transportation',
5050
},
51-
tabBarOptions: {
52-
activeTintColor: c.mandarin,
53-
},
5451
},
5552
)

0 commit comments

Comments
 (0)