@@ -56,6 +56,7 @@ import {
5656 IssueSettingsScreen ,
5757 NewIssueScreen ,
5858 PullMergeScreen ,
59+ EditIssueCommentScreen ,
5960} from 'issue' ;
6061
6162const sharedRoutes = {
@@ -158,6 +159,12 @@ const sharedRoutes = {
158159 title : navigation . state . params . title ,
159160 } ) ,
160161 } ,
162+ EditIssueComment : {
163+ screen : EditIssueCommentScreen ,
164+ navigationOptions : ( { navigation } ) => ( {
165+ title : navigation . state . params . title ,
166+ } ) ,
167+ } ,
161168 PullDiff : {
162169 screen : PullDiffScreen ,
163170 navigationOptions : ( { navigation } ) => ( {
@@ -255,49 +262,53 @@ const MainTabNavigator = TabNavigator(
255262 Home : {
256263 screen : HomeStackNavigator ,
257264 navigationOptions : {
258- tabBarIcon : ( { tintColor } ) =>
265+ tabBarIcon : ( { tintColor } ) => (
259266 < Icon
260267 containerStyle = { { justifyContent : 'center' , alignItems : 'center' } }
261268 color = { tintColor }
262269 name = "home"
263270 size = { 33 }
264- /> ,
271+ />
272+ ) ,
265273 } ,
266274 } ,
267275 Notifications : {
268276 screen : NotificationsStackNavigator ,
269277 navigationOptions : {
270- tabBarIcon : ( { tintColor } ) =>
278+ tabBarIcon : ( { tintColor } ) => (
271279 < Icon
272280 containerStyle = { { justifyContent : 'center' , alignItems : 'center' } }
273281 color = { tintColor }
274282 name = "notifications"
275283 size = { 33 }
276- /> ,
284+ />
285+ ) ,
277286 } ,
278287 } ,
279288 Search : {
280289 screen : SearchStackNavigator ,
281290 navigationOptions : {
282- tabBarIcon : ( { tintColor } ) =>
291+ tabBarIcon : ( { tintColor } ) => (
283292 < Icon
284293 containerStyle = { { justifyContent : 'center' , alignItems : 'center' } }
285294 color = { tintColor }
286295 name = "search"
287296 size = { 33 }
288- /> ,
297+ />
298+ ) ,
289299 } ,
290300 } ,
291301 MyProfile : {
292302 screen : MyProfileStackNavigator ,
293303 navigationOptions : {
294- tabBarIcon : ( { tintColor } ) =>
304+ tabBarIcon : ( { tintColor } ) => (
295305 < Icon
296306 containerStyle = { { justifyContent : 'center' , alignItems : 'center' } }
297307 color = { tintColor }
298308 name = "person"
299309 size = { 33 }
300- /> ,
310+ />
311+ ) ,
301312 } ,
302313 } ,
303314 } ,
@@ -309,7 +320,7 @@ const MainTabNavigator = TabNavigator(
309320 activeTintColor : colors . primaryDark ,
310321 inactiveTintColor : colors . grey ,
311322 } ,
312- tabBarComponent : ( { jumpToIndex, ...props } ) =>
323+ tabBarComponent : ( { jumpToIndex, ...props } ) => (
313324 < TabBarBottom
314325 { ...props }
315326 jumpToIndex = { index => {
@@ -335,7 +346,8 @@ const MainTabNavigator = TabNavigator(
335346 jumpToIndex ( index ) ;
336347 }
337348 } }
338- /> ,
349+ />
350+ ) ,
339351 }
340352) ;
341353
0 commit comments