Make bleeding view into a child component

This commit is contained in:
Julia Friesel
2018-06-14 11:11:23 +02:00
parent 7e66b4897f
commit 2a1c7fce7c
5 changed files with 69 additions and 41 deletions
+2 -7
View File
@@ -1,10 +1,8 @@
import { createStackNavigator } from 'react-navigation'
import Home from './home'
import Temperature from './temperature'
import Calendar from './calendar'
import DayView from './day-view'
import Bleeding from './bleeding'
import Day from './day'
// this is until react native fixes this bug, see https://github.com/facebook/react-native/issues/18868#issuecomment-382671739
import { YellowBox } from 'react-native'
@@ -12,9 +10,6 @@ YellowBox.ignoreWarnings(['Warning: isMounted(...) is deprecated'])
export default createStackNavigator({
home: { screen: Home },
temperature: { screen: Temperature },
calendar: { screen: Calendar },
dayView: { screen: DayView },
bleeding: { screen: Bleeding }
day: { screen: Day }
})